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 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
678 </p> | 678 </p> |
679 | 679 |
680 <div id=status>NO-STATUS</div> | 680 <div id=status>NO-STATUS</div> |
681 | 681 |
682 <embed type="application/x-nacl-srpc" id="nacl_server" name="nacl_module" | 682 <embed type="application/x-nacl-srpc" id="nacl_server" name="nacl_module" |
683 width="0" height="0" src="srpc_test.nexe" /> | 683 width="0" height="0" src="srpc_test.nexe" /> |
684 | 684 |
685 <script type="text/javascript" src="nacl_js_lib.js"></script> | 685 <script type="text/javascript" src="nacl_js_lib.js"></script> |
686 <script type="text/javascript"> | 686 <script type="text/javascript"> |
687 //<![CDATA[ | 687 //<![CDATA[ |
688 var nacllib = new NaclLib("nacl_module", "status", 100); | 688 var nacllib = new NaclLib("nacl_module", "status", 500); |
689 | 689 |
690 nacllib.test = function() { | 690 nacllib.test = function() { |
691 server = document.getElementById("nacl_server"); | 691 server = document.getElementById("nacl_server"); |
692 EnqueueAndRunTests(); | 692 EnqueueAndRunTests(); |
693 if (0 == testQueue.length) { | 693 if (0 == testQueue.length) { |
694 return "No tests run."; | 694 return "No tests run."; |
695 } else if (0 != failing_count) { | 695 } else if (0 != failing_count) { |
696 return "Tests failed."; | 696 return "Tests failed."; |
697 } else { | 697 } else { |
698 return ""; | 698 return ""; |
699 } | 699 } |
700 } | 700 } |
701 //]]> | 701 //]]> |
702 </script> | 702 </script> |
703 </body> | 703 </body> |
704 </html> | 704 </html> |
OLD | NEW |