| 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 718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 729 <p> | 729 <p> |
| 730 <b> | 730 <b> |
| 731 NOTE: Some versions of some WebKit-based browsers do not correctly report | 731 NOTE: Some versions of some WebKit-based browsers do not correctly report |
| 732 JavaScript exceptions raised by NPAPI plugins. This can cause some of | 732 JavaScript exceptions raised by NPAPI plugins. This can cause some of |
| 733 the above tests to spuriously report failure. | 733 the above tests to spuriously report failure. |
| 734 </b> | 734 </b> |
| 735 </p> | 735 </p> |
| 736 | 736 |
| 737 <div id=status>NO-STATUS</div> | 737 <div id=status>NO-STATUS</div> |
| 738 | 738 |
| 739 <embed type="application/x-nacl-srpc" id="nacl_server" name="nacl_module" | 739 <embed type="application/x-nacl" id="nacl_server" name="nacl_module" |
| 740 width="0" height="0" src="srpc_shm.nexe" /> | 740 width="0" height="0" src="srpc_shm.nexe" /> |
| 741 | 741 |
| 742 <script type="text/javascript" src="nacl_js_lib.js"></script> | 742 <script type="text/javascript" src="nacl_js_lib.js"></script> |
| 743 <script type="text/javascript"> | 743 <script type="text/javascript"> |
| 744 //<![CDATA[ | 744 //<![CDATA[ |
| 745 var nacllib = new NaclLib("nacl_module", "status", 500); | 745 var nacllib = new NaclLib("nacl_module", "status", 500); |
| 746 | 746 |
| 747 nacllib.test = function() { | 747 nacllib.test = function() { |
| 748 server = document.getElementById("nacl_server"); | 748 server = document.getElementById("nacl_server"); |
| 749 EnqueueAndRunTests(); | 749 EnqueueAndRunTests(); |
| 750 if (0 == testQueue.length) { | 750 if (0 == testQueue.length) { |
| 751 return "No tests run."; | 751 return "No tests run."; |
| 752 } else if (0 != failing_count) { | 752 } else if (0 != failing_count) { |
| 753 return "Tests failed."; | 753 return "Tests failed."; |
| 754 } else { | 754 } else { |
| 755 return ""; | 755 return ""; |
| 756 } | 756 } |
| 757 } | 757 } |
| 758 //]]> | 758 //]]> |
| 759 </script> | 759 </script> |
| 760 </body> | 760 </body> |
| 761 </html> | 761 </html> |
| OLD | NEW |