| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Stress Test Demo</title> | 4 <title>Stress Test Demo</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 |
| 11 <h1>Three Native Client Demos, One Page</h1> | 11 <h1>Three Native Client Demos, One Page</h1> |
| 12 <p> | 12 <p> |
| 13 Life, Voronoi, and Earth as three Native Client processes on one HTML page. | 13 Life, Voronoi, and Earth as three Native Client processes on one HTML page. |
| 14 </p> | 14 </p> |
| 15 | 15 |
| 16 <embed name="nacl_module" src="life.nexe" type="application/x-nacl-srpc" width=
256 height=256 /> | 16 <embed name="nacl_module" src="life.nexe" type="application/x-nacl" width=256 h
eight=256 /> |
| 17 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl-srpc" wid
th=256 height=256 /> | 17 <embed name="nacl_module" src="voronoi.nexe" type="application/x-nacl" width=25
6 height=256 /> |
| 18 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl-srpc" width
=256 height=256 /> | 18 <embed name="nacl_module" src="earth.nexe" type="application/x-nacl" width=256
height=256 /> |
| 19 | 19 |
| 20 <br> | 20 <br> |
| 21 | 21 |
| 22 | 22 |
| 23 <div id=status></div> | 23 <div id=status></div> |
| 24 | 24 |
| 25 <script type="text/javascript" src="nacl_js_lib.js"></script> | 25 <script type="text/javascript" src="nacl_js_lib.js"></script> |
| 26 <script type="text/javascript"> | 26 <script type="text/javascript"> |
| 27 //<![CDATA[ | 27 //<![CDATA[ |
| 28 var nacllib = new NaclLib("nacl_module", "status", 50); | 28 var nacllib = new NaclLib("nacl_module", "status", 50); |
| 29 | 29 |
| 30 nacllib.test = function() { return ""; }; | 30 nacllib.test = function() { return ""; }; |
| 31 //]]> | 31 //]]> |
| 32 </script> | 32 </script> |
| 33 </body> | 33 </body> |
| 34 </html> | 34 </html> |
| OLD | NEW |