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

Side by Side Diff: tests/prebuilt/x64/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
« no previous file with comments | « tests/prebuilt/x64/srpc_basic.html ('k') | tests/prebuilt/x64/srpc_hw_ppapi.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 15 matching lines...) Expand all
69 69
70 document.cookie = 'status=OK'; 70 document.cookie = 'status=OK';
71 71
72 return ""; 72 return "";
73 }; 73 };
74 //]]> 74 //]]>
75 </script> 75 </script>
76 76
77 </body> 77 </body>
78 </html> 78 </html>
OLDNEW
« no previous file with comments | « tests/prebuilt/x64/srpc_basic.html ('k') | tests/prebuilt/x64/srpc_hw_ppapi.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698