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