OLD | NEW |
1 <html> | 1 <html> |
2 <body onload="startTest()"> | 2 <body onload="startTest()"> |
3 | 3 |
4 <script src="../../resources/js-test.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
5 | 5 |
6 <script> | 6 <script> |
7 | 7 |
8 description("This test checks that the page visibility event propagation does no
t crash the browser when frames are added / deleted."); | 8 description("This test checks that the page visibility event propagation does no
t crash the browser when frames are added / deleted."); |
9 | 9 |
10 var jsTestIsAsync = true; | 10 var jsTestIsAsync = true; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 debug("Visibility of sub frame 2 changed."); | 61 debug("Visibility of sub frame 2 changed."); |
62 // Delete frame 1. | 62 // Delete frame 1. |
63 document.body.removeChild(frame1); | 63 document.body.removeChild(frame1); |
64 } | 64 } |
65 | 65 |
66 </script> | 66 </script> |
67 | 67 |
68 | 68 |
69 <iframe id="topFrame1" onload="startTest()" ></iframe> | 69 <iframe id="topFrame1" onload="startTest()" ></iframe> |
70 <iframe id="topFrame2" onload="startTest()" ></iframe> | 70 <iframe id="topFrame2" onload="startTest()" ></iframe> |
71 <iframe id="topFrame3" onload="startTest()" src="resources/page-visibility-ifram
e-delete-test-frame.html"></iframe> | 71 <iframe id="topFrame3" onload="startTest()" src="resources/page-visibility-ifram
e-with-subframes.html"></iframe> |
72 <iframe id="topFrame4" onload="startTest()" ></iframe> | 72 <iframe id="topFrame4" onload="startTest()" ></iframe> |
73 </body> | 73 </body> |
74 </html> | 74 </html> |
OLD | NEW |