| 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 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 <b> | 383 <b> |
| 384 NOTE: Some versions of some WebKit-based browsers do not correctly report | 384 NOTE: Some versions of some WebKit-based browsers do not correctly report |
| 385 JavaScript exceptions raised by NPAPI plugins. This can cause some of | 385 JavaScript exceptions raised by NPAPI plugins. This can cause some of |
| 386 the above tests to spuriously report failure. | 386 the above tests to spuriously report failure. |
| 387 </b> | 387 </b> |
| 388 </p> | 388 </p> |
| 389 | 389 |
| 390 <div id=status>NO-STATUS</div> | 390 <div id=status>NO-STATUS</div> |
| 391 | 391 |
| 392 <embed type="application/x-nacl-srpc" id="nacl_server" name="nacl_module" | 392 <embed type="application/x-nacl-srpc" id="nacl_server" name="nacl_module" |
| 393 width="0" height="0" src="srpc_nrd_server.nexe" /> | 393 width="0" height="0" nexe="srpc_nrd_server"> |
| 394 <noembed> |
| 395 Your browser does not appear to support Native Client. |
| 396 Visit http://code.google.com/p/nativeclient/ to get started. |
| 397 <noembed/> |
| 398 </embed> |
| 394 | 399 |
| 395 <script type="text/javascript" src="nacl_js_lib.js"></script> | 400 <script type="text/javascript" src="nacl_js_lib.js"></script> |
| 396 <script type="text/javascript"> | 401 <script type="text/javascript"> |
| 397 //<![CDATA[ | 402 //<![CDATA[ |
| 398 var nacllib = new NaclLib(document.getElementsByName("nacl_module"), | 403 var nacllib = new NaclLib(document.getElementsByName("nacl_module"), |
| 399 document.getElementById("status"), | 404 document.getElementById("status"), |
| 400 100); | 405 100); |
| 401 | 406 |
| 402 nacllib.test = function() { | 407 nacllib.test = function() { |
| 403 server = document.getElementById("nacl_server"); | 408 server = document.getElementById("nacl_server"); |
| 404 EnqueueAndRunTests(); | 409 EnqueueAndRunTests(); |
| 405 if (0 == testQueue.length) { | 410 if (0 == testQueue.length) { |
| 406 return "No tests run."; | 411 return "No tests run."; |
| 407 } else if (0 != failing_count) { | 412 } else if (0 != failing_count) { |
| 408 return "Tests failed."; | 413 return "Tests failed."; |
| 409 } else { | 414 } else { |
| 410 return ""; | 415 return ""; |
| 411 } | 416 } |
| 412 } | 417 } |
| 413 //]]> | 418 //]]> |
| 414 </script> | 419 </script> |
| 415 </body> | 420 </body> |
| 416 </html> | 421 </html> |
| OLD | NEW |