| 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 Parameter Passing Test </title> | 6 <title> SRPC Parameter Passing 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 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 406 <b> | 406 <b> |
| 407 NOTE: Some versions of some WebKit-based browsers do not correctly report | 407 NOTE: Some versions of some WebKit-based browsers do not correctly report |
| 408 JavaScript exceptions raised by NPAPI plugins. This can cause some of | 408 JavaScript exceptions raised by NPAPI plugins. This can cause some of |
| 409 the above tests to spuriously report failure. | 409 the above tests to spuriously report failure. |
| 410 </b> | 410 </b> |
| 411 </p> | 411 </p> |
| 412 | 412 |
| 413 <div id=status>NO-STATUS</div> | 413 <div id=status>NO-STATUS</div> |
| 414 | 414 |
| 415 <embed type="application/x-nacl-srpc" id="nacl_server" name="nacl_module" | 415 <embed type="application/x-nacl-srpc" id="nacl_server" name="nacl_module" |
| 416 width="0" height="0" src="srpc_test.nexe" /> | 416 width="0" height="0" nexe="srpc_test"> |
| 417 <noembed> |
| 418 Your browser does not appear to support Native Client. |
| 419 Visit http://code.google.com/p/nativeclient/ to get started. |
| 420 <noembed/> |
| 421 </embed> |
| 417 | 422 |
| 418 <script type="text/javascript" src="nacl_js_lib.js"></script> | 423 <script type="text/javascript" src="nacl_js_lib.js"></script> |
| 419 <script type="text/javascript"> | 424 <script type="text/javascript"> |
| 420 //<![CDATA[ | 425 //<![CDATA[ |
| 421 var nacllib = new NaclLib(document.getElementsByName("nacl_module"), | 426 var nacllib = new NaclLib(document.getElementsByName("nacl_module"), |
| 422 document.getElementById("status"), | 427 document.getElementById("status"), |
| 423 100); | 428 100); |
| 424 | 429 |
| 425 nacllib.test = function() { | 430 nacllib.test = function() { |
| 426 server = document.getElementById("nacl_server"); | 431 server = document.getElementById("nacl_server"); |
| 427 EnqueueAndRunTests(); | 432 EnqueueAndRunTests(); |
| 428 if (0 == testQueue.length) { | 433 if (0 == testQueue.length) { |
| 429 return "No tests run."; | 434 return "No tests run."; |
| 430 } else if (0 != failing_count) { | 435 } else if (0 != failing_count) { |
| 431 return "Tests failed."; | 436 return "Tests failed."; |
| 432 } else { | 437 } else { |
| 433 return ""; | 438 return ""; |
| 434 } | 439 } |
| 435 } | 440 } |
| 436 //]]> | 441 //]]> |
| 437 </script> | 442 </script> |
| 438 </body> | 443 </body> |
| 439 </html> | 444 </html> |
| OLD | NEW |