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

Side by Side Diff: tests/srpc_hw/srpc_hw.html

Issue 6452010: Remove the x-ppapi-nacl-srpc and x-nacl-srpc mime types in favor of the singl... (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 10 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> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>SRPC Simple Plug-in</title> 4 <title>SRPC Simple Plug-in</title>
5 <META HTTP-EQUIV="Pragma" CONTENT="no-cache" /> 5 <META HTTP-EQUIV="Pragma" CONTENT="no-cache" />
6 <META HTTP-EQUIV="Expires" CONTENT="-1" /> 6 <META HTTP-EQUIV="Expires" CONTENT="-1" />
7 </head> 7 </head>
8 <body onload="nacllib.waitForModulesAndRunTests();" 8 <body onload="nacllib.waitForModulesAndRunTests();"
9 onunload="nacllib.cleanUp();" > 9 onunload="nacllib.cleanUp();" >
10 <script type="text/javascript"> 10 <script type="text/javascript">
(...skipping 22 matching lines...) Expand all
33 33
34 <h1>Native Client SRPC Simple Plug-in</h1> 34 <h1>Native Client SRPC Simple Plug-in</h1>
35 <p> 35 <p>
36 <button onclick='fortytwo()'>Call fortytwo()</button> 36 <button onclick='fortytwo()'>Call fortytwo()</button>
37 <button onclick='helloworld()'>Call helloworld()</button> 37 <button onclick='helloworld()'>Call helloworld()</button>
38 38
39 <embed name="nacl_module" 39 <embed name="nacl_module"
40 id="pluginobj" 40 id="pluginobj"
41 width=0 height=0 41 width=0 height=0
42 src="srpc_hw.nexe" 42 src="srpc_hw.nexe"
43 type="application/x-nacl-srpc" /> 43 type="application/x-nacl" />
44 </p> 44 </p>
45 45
46 <p>If the plug-in is working correctly, a click on the "Call fortytwo" button 46 <p>If the plug-in is working correctly, a click on the "Call fortytwo" button
47 should open a popup dialog containing <b>42</b> as value.</p> 47 should open a popup dialog containing <b>42</b> as value.</p>
48 48
49 <p> Clicking on the "Call helloworld" button 49 <p> Clicking on the "Call helloworld" button
50 should open a popup dialog containing <b>hello, world</b> as value.</p> 50 should open a popup dialog containing <b>hello, world</b> as value.</p>
51 51
52 <h2>Status</h2> 52 <h2>Status</h2>
53 <div id=status>NO-STATUS</div> 53 <div id=status>NO-STATUS</div>
(...skipping 13 matching lines...) Expand all
67 return "expected 'hello, world.'"; 67 return "expected 'hello, world.'";
68 } 68 }
69 69
70 return ""; 70 return "";
71 }; 71 };
72 //]]> 72 //]]>
73 </script> 73 </script>
74 74
75 </body> 75 </body>
76 </html> 76 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698