| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>NPAPI Simple Plug-in</title> | 4 <title>NPAPI 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 | 10 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 <h1>Native Client NPAPI Simple Plug-in</h1> | 31 <h1>Native Client NPAPI Simple Plug-in</h1> |
| 32 <p> | 32 <p> |
| 33 <button onclick="fortytwo()">Call fortytwo()</button> | 33 <button onclick="fortytwo()">Call fortytwo()</button> |
| 34 <button onclick="helloworld()">Call helloworld()</button> | 34 <button onclick="helloworld()">Call helloworld()</button> |
| 35 | 35 |
| 36 <embed name="nacl_module" | 36 <embed name="nacl_module" |
| 37 id="pluginobj" | 37 id="pluginobj" |
| 38 width=0 | 38 width=0 |
| 39 height=0 | 39 height=0 |
| 40 src="npapi_hw.nexe" | 40 src="npapi_hw.nexe" |
| 41 type="application/x-nacl-srpc" /> | 41 type="application/x-nacl" /> |
| 42 </p> | 42 </p> |
| 43 | 43 |
| 44 <p>If the plug-in is working correctly, a click on the "Call fortytwo" button | 44 <p>If the plug-in is working correctly, a click on the "Call fortytwo" button |
| 45 should open a popup dialog containing <b>42</b> as value.</p> | 45 should open a popup dialog containing <b>42</b> as value.</p> |
| 46 | 46 |
| 47 <p> Clicking on the "Call helloworld" button | 47 <p> Clicking on the "Call helloworld" button |
| 48 should open a popup dialog containing <b>hello, world</b> as value.</p> | 48 should open a popup dialog containing <b>hello, world</b> as value.</p> |
| 49 | 49 |
| 50 <h2>Status</h2> | 50 <h2>Status</h2> |
| 51 <div id=status>NO-STATUS</div> | 51 <div id=status>NO-STATUS</div> |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 document.cookie = 'status=OK'; | 86 document.cookie = 'status=OK'; |
| 87 | 87 |
| 88 return ""; | 88 return ""; |
| 89 }; | 89 }; |
| 90 | 90 |
| 91 //]]> | 91 //]]> |
| 92 </script> | 92 </script> |
| 93 | 93 |
| 94 </body> | 94 </body> |
| 95 </html> | 95 </html> |
| OLD | NEW |