| OLD | NEW |
| 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 <html> | 3 <html> |
| 4 <!-- Copyright 2009 Google Inc. All rights reserved. --> | 4 <!-- Copyright 2009 Google Inc. All rights reserved. --> |
| 5 <head> | 5 <head> |
| 6 <title> SRPC Plugin Properties Test </title> | 6 <title> SRPC Plugin Properties Test </title> |
| 7 <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> | 7 <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> |
| 8 <META HTTP-EQUIV="Expires" CONTENT="-1"> | 8 <META HTTP-EQUIV="Expires" CONTENT="-1"> |
| 9 <style type="text/css"> | 9 <style type="text/css"> |
| 10 td.notrun { background-color: skyblue } | 10 td.notrun { background-color: skyblue } |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 <b> | 342 <b> |
| 343 NOTE: Some versions of some WebKit-based browsers do not correctly report | 343 NOTE: Some versions of some WebKit-based browsers do not correctly report |
| 344 JavaScript exceptions raised by NPAPI plugins. This can cause some of | 344 JavaScript exceptions raised by NPAPI plugins. This can cause some of |
| 345 the above tests to spuriously report failure. | 345 the above tests to spuriously report failure. |
| 346 </b> | 346 </b> |
| 347 </p> | 347 </p> |
| 348 | 348 |
| 349 <div id=status>NO-STATUS</div> | 349 <div id=status>NO-STATUS</div> |
| 350 | 350 |
| 351 <embed type="application/x-nacl-srpc" id="nacl_server" name="nacl_module" | 351 <embed type="application/x-nacl-srpc" id="nacl_server" name="nacl_module" |
| 352 width="0" height="0" src="srpc_test.nexe" /> | 352 width="0" height="0" nexe="srpc_test"> |
| 353 <noembed> |
| 354 Your browser does not appear to support Native Client. |
| 355 Visit http://code.google.com/p/nativeclient/ to get started. |
| 356 <noembed/> |
| 357 </embed> |
| 353 | 358 |
| 354 <script type="text/javascript" src="nacl_js_lib.js"></script> | 359 <script type="text/javascript" src="nacl_js_lib.js"></script> |
| 355 <script type="text/javascript"> | 360 <script type="text/javascript"> |
| 356 //<![CDATA[ | 361 //<![CDATA[ |
| 357 var nacllib = new NaclLib(document.getElementsByName("nacl_module"), | 362 var nacllib = new NaclLib(document.getElementsByName("nacl_module"), |
| 358 document.getElementById("status"), | 363 document.getElementById("status"), |
| 359 100); | 364 100); |
| 360 | 365 |
| 361 nacllib.test = function() { | 366 nacllib.test = function() { |
| 362 server = document.getElementById("nacl_server"); | 367 server = document.getElementById("nacl_server"); |
| 363 EnqueueAndRunTests(); | 368 EnqueueAndRunTests(); |
| 364 if (0 == testQueue.length) { | 369 if (0 == testQueue.length) { |
| 365 return "No tests run."; | 370 return "No tests run."; |
| 366 } else if (0 != failing_count) { | 371 } else if (0 != failing_count) { |
| 367 return "Tests failed."; | 372 return "Tests failed."; |
| 368 } else { | 373 } else { |
| 369 return ""; | 374 return ""; |
| 370 } | 375 } |
| 371 } | 376 } |
| 372 //]]> | 377 //]]> |
| 373 </script> | 378 </script> |
| 374 </body> | 379 </body> |
| 375 </html> | 380 </html> |
| OLD | NEW |