summaryrefslogtreecommitdiffstats
path: root/ppapi/example/example.html
blob: f6fdc526f0912589e84c6f5277f5122433984068 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<body style="background-image:url(http://www.google.com/intl/en_ALL/images/logo.gif);
             background-repeat:repeat">

<script type="text/javascript">
function Test() {
    plugin = document.getElementById('plugin');
    // Confirm that this no longer segfaults.
    alert(plugin.toString(new Array(10)));
}

</script>

  <button onclick='Test()'>Test</button>
  <div id="fps" style="background-color:white; font-weight:bold; padding:4px;">FPS GOES HERE</div>
  <object id="plugin" type="application/x-ppapi-example" width="400" height="400" />
  <hr>
</body>