OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <!-- Copyright (c) 2010 The Native Client Authors. All rights reserved. | 3 <!-- Copyright (c) 2010 The Native Client Authors. All rights reserved. |
4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
5 found in the LICENSE file. --> | 5 found in the LICENSE file. --> |
6 <head> | 6 <head> |
7 <title>NPAPI Runtime Feature Test</title> | 7 <title>NPAPI Runtime Feature Test</title> |
8 <META HTTP-EQUIV="Pragma" CONTENT="no-cache" /> | 8 <META HTTP-EQUIV="Pragma" CONTENT="no-cache" /> |
9 <META HTTP-EQUIV="Expires" CONTENT="-1" /> | 9 <META HTTP-EQUIV="Expires" CONTENT="-1" /> |
10 <style type="text/css"> | 10 <style type="text/css"> |
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
696 | 696 |
697 <div id="status">NO-STATUS</div> | 697 <div id="status">NO-STATUS</div> |
698 | 698 |
699 <embed id="nacl_module" name="nacl_module" | 699 <embed id="nacl_module" name="nacl_module" |
700 width="0" height="0" | 700 width="0" height="0" |
701 src="npapi_runtime.nexe" type="application/x-nacl-srpc" /> | 701 src="npapi_runtime.nexe" type="application/x-nacl-srpc" /> |
702 | 702 |
703 <script type="text/javascript" src="nacl_js_lib.js"></script> | 703 <script type="text/javascript" src="nacl_js_lib.js"></script> |
704 <script type="text/javascript"> | 704 <script type="text/javascript"> |
705 //<![CDATA[ | 705 //<![CDATA[ |
706 var nacllib = new NaclLib('nacl_module', 'status', 100); | 706 var nacllib = new NaclLib('nacl_module', 'status', 500); |
707 | 707 |
708 nacllib.test = function() { | 708 nacllib.test = function() { |
709 testTimeoutHandler = setTimeout('HandleTestTimeout()', 10000); | 709 testTimeoutHandler = setTimeout('HandleTestTimeout()', 10000); |
710 EnqueueAndRunTests(); | 710 EnqueueAndRunTests(); |
711 if (0 == failingCount) { | 711 if (0 == failingCount) { |
712 return ''; | 712 return ''; |
713 } else if (testTimedOut) { | 713 } else if (testTimedOut) { |
714 return 'Test timed out.'; | 714 return 'Test timed out.'; |
715 } else { | 715 } else { |
716 return 'Test failed.'; | 716 return 'Test failed.'; |
717 } | 717 } |
718 } | 718 } |
719 | 719 |
720 //]]> | 720 //]]> |
721 </script> | 721 </script> |
722 </body> | 722 </body> |
723 </html> | 723 </html> |
OLD | NEW |