Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(708)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/events/page-visibility-iframe-delete-test.html

Issue 1778753003: Fire visibilitychange event on unload (behind the flag) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix tests Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/events/page-visibility-iframe-unload.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/events/page-visibility-iframe-unload.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698