| 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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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" src="srpc_nrd_server.nexe" /> |
| 394 | 394 |
| 395 <script type="text/javascript" src="nacl_js_lib.js"></script> | 395 <script type="text/javascript" src="nacl_js_lib.js"></script> |
| 396 <script type="text/javascript"> | 396 <script type="text/javascript"> |
| 397 //<![CDATA[ | 397 //<![CDATA[ |
| 398 var nacllib = new NaclLib("nacl_module", "status", 100); | 398 var nacllib = new NaclLib("nacl_module", "status", 500); |
| 399 | 399 |
| 400 nacllib.test = function() { | 400 nacllib.test = function() { |
| 401 server = document.getElementById("nacl_server"); | 401 server = document.getElementById("nacl_server"); |
| 402 EnqueueAndRunTests(); | 402 EnqueueAndRunTests(); |
| 403 if (0 == testQueue.length) { | 403 if (0 == testQueue.length) { |
| 404 return "No tests run."; | 404 return "No tests run."; |
| 405 } else if (0 != failing_count) { | 405 } else if (0 != failing_count) { |
| 406 return "Tests failed."; | 406 return "Tests failed."; |
| 407 } else { | 407 } else { |
| 408 return ""; | 408 return ""; |
| 409 } | 409 } |
| 410 } | 410 } |
| 411 //]]> | 411 //]]> |
| 412 </script> | 412 </script> |
| 413 </body> | 413 </body> |
| 414 </html> | 414 </html> |
| OLD | NEW |