1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <!-- Copyright 2009 Google Inc. All rights reserved. -->
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() {
11 alert(document
.getElementById('pluginobj').helloworld());
20 <button type=
"button" onclick=
"helloworld()" id=
"hwbuttonobj">
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" />