| 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="../js/resources/js-test-pre.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; |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 return; | 102 return; |
| 103 } else { | 103 } else { |
| 104 testFailed("Too many visibility transitions"); | 104 testFailed("Too many visibility transitions"); |
| 105 finishJSTest(); | 105 finishJSTest(); |
| 106 return; | 106 return; |
| 107 } | 107 } |
| 108 } | 108 } |
| 109 | 109 |
| 110 </script> | 110 </script> |
| 111 | 111 |
| 112 <script src="../js/resources/js-test-post.js"></script> | |
| 113 | 112 |
| 114 </body> | 113 </body> |
| 115 </html> | 114 </html> |
| OLD | NEW |