imcplugin demo: Extend to support stat() call
[nativeclient.git] / tests / autoloader / autoloader_default.html
blob03a56abcb1e906f2333c16ab8bf468971355f0e3
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html>
4 <!-- Copyright 2009 Google Inc. All rights reserved. -->
5 <head>
6 <title>Native Client Autoloader Test Client Page </title>
7 <script type="text/javascript">
8 // helloworld is invoked when its button is pressed.
9 function helloworld() {
10 try {
11 alert(document.getElementById('pluginobj').helloworld());
12 } catch(e) {
13 alert(e);
16 </script>
17 </head>
18 <body>
19 <p>
20 <button type="button" onclick="helloworld()" id="hwbuttonobj">
21 Call helloworld()
22 </button>
23 </p>
24 This page is initially loaded by the autoloader test. Other pages
25 may be specified in the input box.
26 <embed id="pluginobj" type="application/x-nacl-srpc"
27 width="0" height="0" src="autoloader_default.nexe" />
28 </body>
29 </html>