| 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 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 734 <b> | 734 <b> |
| 735 NOTE: Some versions of some WebKit-based browsers do not correctly report | 735 NOTE: Some versions of some WebKit-based browsers do not correctly report |
| 736 JavaScript exceptions raised by NPAPI plugins. This can cause some of | 736 JavaScript exceptions raised by NPAPI plugins. This can cause some of |
| 737 the above tests to spuriously report failure. | 737 the above tests to spuriously report failure. |
| 738 </b> | 738 </b> |
| 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" nexe="srpc_shm"> |
| 745 <noembed> |
| 746 Your browser does not appear to support Native Client. |
| 747 Visit http://code.google.com/p/nativeclient/ to get started. |
| 748 <noembed/> |
| 749 </embed> |
| 745 | 750 |
| 746 <script type="text/javascript" src="nacl_js_lib.js"></script> | 751 <script type="text/javascript" src="nacl_js_lib.js"></script> |
| 747 <script type="text/javascript"> | 752 <script type="text/javascript"> |
| 748 //<![CDATA[ | 753 //<![CDATA[ |
| 749 var nacllib = new NaclLib(document.getElementsByName("nacl_module"), | 754 var nacllib = new NaclLib(document.getElementsByName("nacl_module"), |
| 750 document.getElementById("status"), | 755 document.getElementById("status"), |
| 751 100); | 756 100); |
| 752 | 757 |
| 753 nacllib.test = function() { | 758 nacllib.test = function() { |
| 754 server = document.getElementById("nacl_server"); | 759 server = document.getElementById("nacl_server"); |
| 755 EnqueueAndRunTests(); | 760 EnqueueAndRunTests(); |
| 756 if (0 == testQueue.length) { | 761 if (0 == testQueue.length) { |
| 757 return "No tests run."; | 762 return "No tests run."; |
| 758 } else if (0 != failing_count) { | 763 } else if (0 != failing_count) { |
| 759 return "Tests failed."; | 764 return "Tests failed."; |
| 760 } else { | 765 } else { |
| 761 return ""; | 766 return ""; |
| 762 } | 767 } |
| 763 } | 768 } |
| 764 //]]> | 769 //]]> |
| 765 </script> | 770 </script> |
| 766 </body> | 771 </body> |
| 767 </html> | 772 </html> |
| OLD | NEW |