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

Side by Side Diff: tests/srpc_hw/srpc_hw_ppapi.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>
polina 2011/02/09 19:39:00 can't srpc_hw_ppapi be deleted? isn't it exactly t
sehr (please use chromium) 2011/02/09 19:58:01 I thought about doing this also, but actually it's
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">
11 //<![CDATA[ 11 //<![CDATA[
(...skipping 30 matching lines...) Expand all
42 42
43 <h1>Native Client SRPC Simple Plug-in</h1> 43 <h1>Native Client SRPC Simple Plug-in</h1>
44 <p> 44 <p>
45 <button onclick="fortytwo()">Call fortytwo()</button> 45 <button onclick="fortytwo()">Call fortytwo()</button>
46 <button onclick="helloworld()">Call helloworld()</button> 46 <button onclick="helloworld()">Call helloworld()</button>
47 47
48 <embed name="nacl_module" 48 <embed name="nacl_module"
49 id="pluginobj" 49 id="pluginobj"
50 width=0 height=0 50 width=0 height=0
51 src="srpc_hw.nexe" 51 src="srpc_hw.nexe"
52 type="application/x-ppapi-nacl-srpc" /> 52 type="application/x-nacl" />
53 </p> 53 </p>
54 54
55 <p>If the plug-in is working correctly, a click on the "Call fortytwo" button 55 <p>If the plug-in is working correctly, a click on the "Call fortytwo" button
56 should open a popup dialog containing <b>42</b> as value.</p> 56 should open a popup dialog containing <b>42</b> as value.</p>
57 57
58 <p> Clicking on the "Call helloworld" button 58 <p> Clicking on the "Call helloworld" button
59 should open a popup dialog containing <b>hello, world</b> as value.</p> 59 should open a popup dialog containing <b>hello, world</b> as value.</p>
60 60
61 <h2>Status</h2> 61 <h2>Status</h2>
62 <div id=status>NO-STATUS</div> 62 <div id=status>NO-STATUS</div>
(...skipping 13 matching lines...) Expand all
76 return "expected 'hello, world.'"; 76 return "expected 'hello, world.'";
77 } 77 }
78 78
79 return ""; 79 return "";
80 }; 80 };
81 //]]> 81 //]]>
82 </script> 82 </script>
83 83
84 </body> 84 </body>
85 </html> 85 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698