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 Shared Memory API Test </title> | 6 <title> SRPC Shared Memory API 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 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
739 </p> | 739 </p> |
740 | 740 |
741 <div id=status>NO-STATUS</div> | 741 <div id=status>NO-STATUS</div> |
742 | 742 |
743 <embed type="application/x-nacl-srpc" id="nacl_server" name="nacl_module" | 743 <embed type="application/x-nacl-srpc" id="nacl_server" name="nacl_module" |
744 width="0" height="0" src="srpc_shm.nexe" /> | 744 width="0" height="0" src="srpc_shm.nexe" /> |
745 | 745 |
746 <script type="text/javascript" src="nacl_js_lib.js"></script> | 746 <script type="text/javascript" src="nacl_js_lib.js"></script> |
747 <script type="text/javascript"> | 747 <script type="text/javascript"> |
748 //<![CDATA[ | 748 //<![CDATA[ |
749 var nacllib = new NaclLib("nacl_module", "status", 100); | 749 var nacllib = new NaclLib("nacl_module", "status", 500); |
750 | 750 |
751 nacllib.test = function() { | 751 nacllib.test = function() { |
752 server = document.getElementById("nacl_server"); | 752 server = document.getElementById("nacl_server"); |
753 EnqueueAndRunTests(); | 753 EnqueueAndRunTests(); |
754 if (0 == testQueue.length) { | 754 if (0 == testQueue.length) { |
755 return "No tests run."; | 755 return "No tests run."; |
756 } else if (0 != failing_count) { | 756 } else if (0 != failing_count) { |
757 return "Tests failed."; | 757 return "Tests failed."; |
758 } else { | 758 } else { |
759 return ""; | 759 return ""; |
760 } | 760 } |
761 } | 761 } |
762 //]]> | 762 //]]> |
763 </script> | 763 </script> |
764 </body> | 764 </body> |
765 </html> | 765 </html> |
OLD | NEW |