| 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 2010 Google Inc. All rights reserved. --> | 4 <!-- Copyright 2010 Google Inc. All rights reserved. --> |
| 5 <head> | 5 <head> |
| 6 <META HTTP-EQUIV="Pragma" CONTENT="no-cache" /> | 6 <META HTTP-EQUIV="Pragma" CONTENT="no-cache" /> |
| 7 <META HTTP-EQUIV="Expires" CONTENT="-1" /> | 7 <META HTTP-EQUIV="Expires" CONTENT="-1" /> |
| 8 <style type="text/css"> | 8 <style type="text/css"> |
| 9 pre.notrun { background-color: skyblue } | 9 pre.notrun { background-color: skyblue } |
| 10 pre.pass { background-color: lime } | 10 pre.pass { background-color: lime } |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 </table> | 106 </table> |
| 107 | 107 |
| 108 <div id="status">NO-STATUS</div> | 108 <div id="status">NO-STATUS</div> |
| 109 | 109 |
| 110 <embed type="application/x-nacl-srpc" id="nacl" name="nacl_module" | 110 <embed type="application/x-nacl-srpc" id="nacl" name="nacl_module" |
| 111 src="npapi_geturl.nexe" width="0" height="0" /> | 111 src="npapi_geturl.nexe" width="0" height="0" /> |
| 112 | 112 |
| 113 <script type="text/javascript" src="nacl_js_lib.js"></script> | 113 <script type="text/javascript" src="nacl_js_lib.js"></script> |
| 114 <script type="text/javascript"> | 114 <script type="text/javascript"> |
| 115 //<![CDATA[ | 115 //<![CDATA[ |
| 116 var nacllib = new NaclLib('nacl_module', 'status', 100); | 116 var nacllib = new NaclLib('nacl_module', 'status', 500); |
| 117 | 117 |
| 118 // Returns true ("wait") to the NaclLib test driver until all of the | 118 // Returns true ("wait") to the NaclLib test driver until all of the |
| 119 // tests are complete. I.e., either all of the file load callbacks have | 119 // tests are complete. I.e., either all of the file load callbacks have |
| 120 // completed successfully or an error has occurred. | 120 // completed successfully or an error has occurred. |
| 121 nacllib.wait = function() { | 121 nacllib.wait = function() { |
| 122 logElt = document.getElementById('GeneralOutput'); | 122 logElt = document.getElementById('GeneralOutput'); |
| 123 if (0 == plugin) { | 123 if (0 == plugin) { |
| 124 // This is the first call after the module was loaded. | 124 // This is the first call after the module was loaded. |
| 125 // Start testing. | 125 // Start testing. |
| 126 startTests(); | 126 startTests(); |
| (...skipping 21 matching lines...) Expand all Loading... |
| 148 } else if (testTimedOut) { | 148 } else if (testTimedOut) { |
| 149 return 'Test timed out.'; | 149 return 'Test timed out.'; |
| 150 } else { | 150 } else { |
| 151 return 'Test failed.'; | 151 return 'Test failed.'; |
| 152 } | 152 } |
| 153 } | 153 } |
| 154 //]]> | 154 //]]> |
| 155 </script> | 155 </script> |
| 156 </body> | 156 </body> |
| 157 </html> | 157 </html> |
| OLD | NEW |