OLD | NEW |
1 <html> | 1 <html> |
2 <body onload='startTest()'> | 2 <body onload='startTest()'> |
3 | 3 |
4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
5 | 5 |
6 <script> | 6 <script> |
7 | 7 |
8 description("This test checks that Page Visibility state values are correct and
the event changes are fired correctly."); | 8 description("This test checks that Page Visibility state values are correct and
the event changes are fired correctly."); |
9 | 9 |
10 var jsTestIsAsync = true; | 10 var jsTestIsAsync = true; |
11 | 11 |
12 function makePageVisible() { | 12 function makePageVisible() { |
13 if (window.testRunner) | 13 if (window.testRunner) |
14 testRunner.setPageVisibility("visible"); | 14 testRunner.setPageVisibility("visible"); |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 finishJSTest(); | 105 finishJSTest(); |
106 return; | 106 return; |
107 } | 107 } |
108 } | 108 } |
109 | 109 |
110 </script> | 110 </script> |
111 | 111 |
112 | 112 |
113 </body> | 113 </body> |
114 </html> | 114 </html> |
OLD | NEW |