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 Plugin Properties Test </title> | 6 <title> SRPC Plugin Properties 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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 </p> | 347 </p> |
348 | 348 |
349 <div id=status>NO-STATUS</div> | 349 <div id=status>NO-STATUS</div> |
350 | 350 |
351 <embed type="application/x-nacl-srpc" id="nacl_server" name="nacl_module" | 351 <embed type="application/x-nacl-srpc" id="nacl_server" name="nacl_module" |
352 width="0" height="0" src="srpc_test.nexe" /> | 352 width="0" height="0" src="srpc_test.nexe" /> |
353 | 353 |
354 <script type="text/javascript" src="nacl_js_lib.js"></script> | 354 <script type="text/javascript" src="nacl_js_lib.js"></script> |
355 <script type="text/javascript"> | 355 <script type="text/javascript"> |
356 //<![CDATA[ | 356 //<![CDATA[ |
357 var nacllib = new NaclLib("nacl_module", "status", 100); | 357 var nacllib = new NaclLib("nacl_module", "status", 500); |
358 | 358 |
359 nacllib.test = function() { | 359 nacllib.test = function() { |
360 server = document.getElementById("nacl_server"); | 360 server = document.getElementById("nacl_server"); |
361 EnqueueAndRunTests(); | 361 EnqueueAndRunTests(); |
362 if (0 == testQueue.length) { | 362 if (0 == testQueue.length) { |
363 return "No tests run."; | 363 return "No tests run."; |
364 } else if (0 != failing_count) { | 364 } else if (0 != failing_count) { |
365 return "Tests failed."; | 365 return "Tests failed."; |
366 } else { | 366 } else { |
367 return ""; | 367 return ""; |
368 } | 368 } |
369 } | 369 } |
370 //]]> | 370 //]]> |
371 </script> | 371 </script> |
372 </body> | 372 </body> |
373 </html> | 373 </html> |
OLD | NEW |