| OLD | NEW |
| 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 25 matching lines...) Expand all Loading... |
| 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 nexes=" | 42 nexes=" |
| 43 x86-32: /tests/prebuilt/x86/srpc_hw.nexe | 43 x86-32: /tests/prebuilt/x86/srpc_hw.nexe |
| 44 x86-64: /tests/prebuilt/x64/srpc_hw.nexe | 44 x86-64: /tests/prebuilt/x64/srpc_hw.nexe |
| 45 ARM: /tests/prebuilt/arm/srpc_hw.nexe" | 45 ARM: /tests/prebuilt/arm/srpc_hw.nexe" |
| 46 type="application/x-nacl-srpc" /> | 46 type="application/x-nacl" /> |
| 47 </p> | 47 </p> |
| 48 | 48 |
| 49 <p>If the plug-in is working correctly, a click on the "Call fortytwo" button | 49 <p>If the plug-in is working correctly, a click on the "Call fortytwo" button |
| 50 should open a popup dialog containing <b>42</b> as value.</p> | 50 should open a popup dialog containing <b>42</b> as value.</p> |
| 51 | 51 |
| 52 <p> Clicking on the "Call helloworld" button | 52 <p> Clicking on the "Call helloworld" button |
| 53 should open a popup dialog containing <b>hello, world</b> as value.</p> | 53 should open a popup dialog containing <b>hello, world</b> as value.</p> |
| 54 | 54 |
| 55 <h2>Status</h2> | 55 <h2>Status</h2> |
| 56 <div id=status>NO-STATUS</div> | 56 <div id=status>NO-STATUS</div> |
| (...skipping 15 matching lines...) Expand all Loading... |
| 72 | 72 |
| 73 document.cookie = 'status=OK'; | 73 document.cookie = 'status=OK'; |
| 74 | 74 |
| 75 return ""; | 75 return ""; |
| 76 }; | 76 }; |
| 77 //]]> | 77 //]]> |
| 78 </script> | 78 </script> |
| 79 | 79 |
| 80 </body> | 80 </body> |
| 81 </html> | 81 </html> |
| OLD | NEW |