| 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 Socket Address API Test </title> | 6 <title> SRPC Socket Address 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 <p> | 224 <p> |
| 225 <b> | 225 <b> |
| 226 NOTE: Some versions of some WebKit-based browsers do not correctly report | 226 NOTE: Some versions of some WebKit-based browsers do not correctly report |
| 227 JavaScript exceptions raised by NPAPI plugins. This can cause some of | 227 JavaScript exceptions raised by NPAPI plugins. This can cause some of |
| 228 the above tests to spuriously report failure. | 228 the above tests to spuriously report failure. |
| 229 </b> | 229 </b> |
| 230 </p> | 230 </p> |
| 231 | 231 |
| 232 <div id=status>NO-STATUS</div> | 232 <div id=status>NO-STATUS</div> |
| 233 | 233 |
| 234 <embed type="application/x-nacl-srpc" id="nacl_server" name="nacl_module" | 234 <embed type="application/x-nacl" id="nacl_server" name="nacl_module" |
| 235 width="0" height="0" src="srpc_nrd_server.nexe" /> | 235 width="0" height="0" src="srpc_nrd_server.nexe" /> |
| 236 | 236 |
| 237 <script type="text/javascript" src="nacl_js_lib.js"></script> | 237 <script type="text/javascript" src="nacl_js_lib.js"></script> |
| 238 <script type="text/javascript"> | 238 <script type="text/javascript"> |
| 239 //<![CDATA[ | 239 //<![CDATA[ |
| 240 var nacllib = new NaclLib("nacl_module", "status", 500); | 240 var nacllib = new NaclLib("nacl_module", "status", 500); |
| 241 | 241 |
| 242 nacllib.test = function() { | 242 nacllib.test = function() { |
| 243 server = document.getElementById("nacl_server"); | 243 server = document.getElementById("nacl_server"); |
| 244 EnqueueAndRunTests(); | 244 EnqueueAndRunTests(); |
| 245 if (0 == testQueue.length) { | 245 if (0 == testQueue.length) { |
| 246 return "No tests run."; | 246 return "No tests run."; |
| 247 } else if (0 != failing_count) { | 247 } else if (0 != failing_count) { |
| 248 return "Tests failed."; | 248 return "Tests failed."; |
| 249 } else { | 249 } else { |
| 250 return ""; | 250 return ""; |
| 251 } | 251 } |
| 252 } | 252 } |
| 253 //]]> | 253 //]]> |
| 254 </script> | 254 </script> |
| 255 </body> | 255 </body> |
| 256 </html> | 256 </html> |
| OLD | NEW |