| 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 an iframe that moves between pages with diffe
    rent visibility will have the correct visibility value."); |   8 description("This test checks that an iframe that moves between pages with diffe
    rent visibility will have the correct visibility value."); | 
|   9  |   9  | 
|  10 var jsTestIsAsync = true; |  10 var jsTestIsAsync = true; | 
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  55     debug("Window 1 Loaded"); |  55     debug("Window 1 Loaded"); | 
|  56     document.addEventListener("webkitvisibilitychange", |  56     document.addEventListener("webkitvisibilitychange", | 
|  57                               onVisibilityChange, false); |  57                               onVisibilityChange, false); | 
|  58  |  58  | 
|  59     window2 = window.open("resources/page-visibility-iframe-move-new-page.html")
    ; |  59     window2 = window.open("resources/page-visibility-iframe-move-new-page.html")
    ; | 
|  60     window2.addEventListener("load", window2Loaded, false); |  60     window2.addEventListener("load", window2Loaded, false); | 
|  61 } |  61 } | 
|  62  |  62  | 
|  63 </script> |  63 </script> | 
|  64  |  64  | 
|  65 <script src="../js/resources/js-test-post.js"></script> |  | 
|  66  |  65  | 
|  67 </body> |  66 </body> | 
|  68 </html> |  67 </html> | 
| OLD | NEW |