| 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 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 <p> | 335 <p> |
| 336 <b> | 336 <b> |
| 337 NOTE: Some versions of some WebKit-based browsers do not correctly report | 337 NOTE: Some versions of some WebKit-based browsers do not correctly report |
| 338 JavaScript exceptions raised by NPAPI plugins. This can cause some of | 338 JavaScript exceptions raised by NPAPI plugins. This can cause some of |
| 339 the above tests to spuriously report failure. | 339 the above tests to spuriously report failure. |
| 340 </b> | 340 </b> |
| 341 </p> | 341 </p> |
| 342 | 342 |
| 343 <div id=status>NO-STATUS</div> | 343 <div id=status>NO-STATUS</div> |
| 344 | 344 |
| 345 <embed type="application/x-ppapi-nacl-srpc" id="nacl_server" | 345 <embed type="application/x-nacl" id="nacl_server" |
| 346 name="nacl_module" width="0" height="0" src="srpc_test.nexe" /> | 346 name="nacl_module" width="0" height="0" src="srpc_test.nexe" /> |
| 347 | 347 |
| 348 <script type="text/javascript" src="nacl_js_lib.js"></script> | 348 <script type="text/javascript" src="nacl_js_lib.js"></script> |
| 349 <script type="text/javascript"> | 349 <script type="text/javascript"> |
| 350 //<![CDATA[ | 350 //<![CDATA[ |
| 351 var nacllib = new NaclLib("nacl_module", "status", 500); | 351 var nacllib = new NaclLib("nacl_module", "status", 500); |
| 352 | 352 |
| 353 nacllib.test = function() { | 353 nacllib.test = function() { |
| 354 server = document.getElementById("nacl_server"); | 354 server = document.getElementById("nacl_server"); |
| 355 EnqueueAndRunTests(); | 355 EnqueueAndRunTests(); |
| 356 if (0 == testQueue.length) { | 356 if (0 == testQueue.length) { |
| 357 return "No tests run."; | 357 return "No tests run."; |
| 358 } else if (0 != failing_count) { | 358 } else if (0 != failing_count) { |
| 359 return "Tests failed."; | 359 return "Tests failed."; |
| 360 } else { | 360 } else { |
| 361 return ""; | 361 return ""; |
| 362 } | 362 } |
| 363 } | 363 } |
| 364 //]]> | 364 //]]> |
| 365 </script> | 365 </script> |
| 366 </body> | 366 </body> |
| 367 </html> | 367 </html> |
| OLD | NEW |