Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Side by Side Diff: tests/autoloader/autoloader_default.html

Issue 1092005: Issue 1092005 (Closed) Base URL: http://nativeclient.googlecode.com/svn/trunk/src/native_client/
Patch Set: Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html> 3 <html>
4 <!-- Copyright 2009 Google Inc. All rights reserved. --> 4 <!-- Copyright 2009 Google Inc. All rights reserved. -->
5 <head> 5 <head>
6 <title>Native Client Autoloader Test Client Page </title> 6 <title>Native Client Autoloader Test Client Page </title>
7 <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> 7 <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
8 <META HTTP-EQUIV="Expires" CONTENT="-1"> 8 <META HTTP-EQUIV="Expires" CONTENT="-1">
9 <script type="text/javascript"> 9 <script type="text/javascript">
10 // helloworld is invoked when its button is pressed. 10 // helloworld is invoked when its button is pressed.
11 function helloworld() { 11 function helloworld() {
12 try { 12 try {
13 alert(document.getElementById('pluginobj').helloworld()); 13 alert(document.getElementById('pluginobj').helloworld());
14 } catch(e) { 14 } catch(e) {
15 alert(e); 15 alert(e);
16 } 16 }
17 } 17 }
18 </script> 18 </script>
19 </head> 19 </head>
20 <body> 20 <body>
21 <p> 21 <p>
22 <button type="button" onclick="helloworld()" id="hwbuttonobj"> 22 <button type="button" onclick="helloworld()" id="hwbuttonobj">
23 Call helloworld() 23 Call helloworld()
24 </button> 24 </button>
25 </p> 25 </p>
26 This page is initially loaded by the autoloader test. Other pages 26 This page is initially loaded by the autoloader test. Other pages
27 may be specified in the input box. 27 may be specified in the input box.
28 <embed id="pluginobj" type="application/x-nacl-srpc" 28 <embed id="pluginobj" type="application/x-nacl-srpc"
29 width="0" height="0" src="autoloader_default.nexe" /> 29 width="0" height="0" nexe="autoloader_default">
30 <noembed>
31 Your browser does not appear to support Native Client.
32 Visit http://code.google.com/p/nativeclient/ to get started.
33 <noembed/>
34 </embed>
30 </body> 35 </body>
31 </html> 36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698