| 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 21 matching lines...) Expand all  Loading... | 
| 32 </script> | 32 </script> | 
| 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          nexe="srpc_hw" | 
| 43          type="application/x-nacl-srpc" /> | 43          type="application/x-nacl-srpc"> | 
|  | 44   <noembed> | 
|  | 45   Your browser does not appear to support Native Client. | 
|  | 46   Visit http://code.google.com/p/nativeclient/ to get started. | 
|  | 47   <noembed/> | 
|  | 48   </embed> | 
|  | 49 | 
| 44 </p> | 50 </p> | 
| 45 | 51 | 
| 46 <p>If the plug-in is working correctly, a click on the "Call fortytwo" button | 52 <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> | 53   should open a popup dialog containing <b>42</b> as value.</p> | 
| 48 | 54 | 
| 49 <p> Clicking on the "Call helloworld" button | 55 <p> Clicking on the "Call helloworld" button | 
| 50   should open a popup dialog containing <b>hello, world</b> as value.</p> | 56   should open a popup dialog containing <b>hello, world</b> as value.</p> | 
| 51 | 57 | 
| 52 <h2>Status</h2> | 58 <h2>Status</h2> | 
| 53 <div id=status>NO-STATUS</div> | 59 <div id=status>NO-STATUS</div> | 
| (...skipping 17 matching lines...) Expand all  Loading... | 
| 71 | 77 | 
| 72   document.cookie = 'status=OK'; | 78   document.cookie = 'status=OK'; | 
| 73 | 79 | 
| 74   return ""; | 80   return ""; | 
| 75 }; | 81 }; | 
| 76 //]]> | 82 //]]> | 
| 77 </script> | 83 </script> | 
| 78 | 84 | 
| 79   </body> | 85   </body> | 
| 80 </html> | 86 </html> | 
| OLD | NEW | 
|---|