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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
345 <p> | 345 <p> |
346 <b> | 346 <b> |
347 NOTE: Some versions of some WebKit-based browsers do not correctly report | 347 NOTE: Some versions of some WebKit-based browsers do not correctly report |
348 JavaScript exceptions raised by NPAPI plugins. This can cause some of | 348 JavaScript exceptions raised by NPAPI plugins. This can cause some of |
349 the above tests to spuriously report failure. | 349 the above tests to spuriously report failure. |
350 </b> | 350 </b> |
351 </p> | 351 </p> |
352 | 352 |
353 <div id=status>NO-STATUS</div> | 353 <div id=status>NO-STATUS</div> |
354 | 354 |
355 <embed type="application/x-nacl-srpc" id="nacl_server" name="nacl_module" | 355 <embed type="application/x-nacl" id="nacl_server" name="nacl_module" |
356 width="0" height="0" src="srpc_test.nexe" /> | 356 width="0" height="0" src="srpc_test.nexe" /> |
357 | 357 |
358 <script type="text/javascript" src="nacl_js_lib.js"></script> | 358 <script type="text/javascript" src="nacl_js_lib.js"></script> |
359 <script type="text/javascript"> | 359 <script type="text/javascript"> |
360 //<![CDATA[ | 360 //<![CDATA[ |
361 var nacllib = new NaclLib("nacl_module", "status", 500); | 361 var nacllib = new NaclLib("nacl_module", "status", 500); |
362 | 362 |
363 nacllib.test = function() { | 363 nacllib.test = function() { |
364 server = document.getElementById("nacl_server"); | 364 server = document.getElementById("nacl_server"); |
365 EnqueueAndRunTests(); | 365 EnqueueAndRunTests(); |
366 if (0 == testQueue.length) { | 366 if (0 == testQueue.length) { |
367 return "No tests run."; | 367 return "No tests run."; |
368 } else if (0 != failing_count) { | 368 } else if (0 != failing_count) { |
369 return "Tests failed."; | 369 return "Tests failed."; |
370 } else { | 370 } else { |
371 return ""; | 371 return ""; |
372 } | 372 } |
373 } | 373 } |
374 //]]> | 374 //]]> |
375 </script> | 375 </script> |
376 </body> | 376 </body> |
377 </html> | 377 </html> |
OLD | NEW |