| 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 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 665 <p> | 665 <p> |
| 666 <b> | 666 <b> |
| 667 NOTE: Some versions of some WebKit-based browsers do not correctly report | 667 NOTE: Some versions of some WebKit-based browsers do not correctly report |
| 668 JavaScript exceptions raised by NPAPI plugins. This can cause some of | 668 JavaScript exceptions raised by NPAPI plugins. This can cause some of |
| 669 the above tests to spuriously report failure. | 669 the above tests to spuriously report failure. |
| 670 </b> | 670 </b> |
| 671 </p> | 671 </p> |
| 672 | 672 |
| 673 <div id=status>NO-STATUS</div> | 673 <div id=status>NO-STATUS</div> |
| 674 | 674 |
| 675 <embed type="application/x-nacl-srpc" id="nacl_server" name="nacl_module" | 675 <embed type="application/x-nacl" id="nacl_server" name="nacl_module" |
| 676 width="0" height="0" src="srpc_test.nexe" /> | 676 width="0" height="0" src="srpc_test.nexe" /> |
| 677 | 677 |
| 678 <script type="text/javascript" src="nacl_js_lib.js"></script> | 678 <script type="text/javascript" src="nacl_js_lib.js"></script> |
| 679 <script type="text/javascript"> | 679 <script type="text/javascript"> |
| 680 //<![CDATA[ | 680 //<![CDATA[ |
| 681 var nacllib = new NaclLib("nacl_module", "status", 500); | 681 var nacllib = new NaclLib("nacl_module", "status", 500); |
| 682 | 682 |
| 683 nacllib.test = function() { | 683 nacllib.test = function() { |
| 684 server = document.getElementById("nacl_server"); | 684 server = document.getElementById("nacl_server"); |
| 685 EnqueueAndRunTests(); | 685 EnqueueAndRunTests(); |
| 686 if (0 == testQueue.length) { | 686 if (0 == testQueue.length) { |
| 687 return "No tests run."; | 687 return "No tests run."; |
| 688 } else if (0 != failing_count) { | 688 } else if (0 != failing_count) { |
| 689 return "Tests failed."; | 689 return "Tests failed."; |
| 690 } else { | 690 } else { |
| 691 return ""; | 691 return ""; |
| 692 } | 692 } |
| 693 } | 693 } |
| 694 //]]> | 694 //]]> |
| 695 </script> | 695 </script> |
| 696 </body> | 696 </body> |
| 697 </html> | 697 </html> |
| OLD | NEW |