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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/page-visibility-iframe-unload-expected.txt

Issue 1778753003: Fire visibilitychange event on unload (behind the flag) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/events/page-visibility-iframe-unload-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/events/page-visibility-iframe-unload-expected.txt b/third_party/WebKit/LayoutTests/fast/events/page-visibility-iframe-unload-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65853cc3bc923faad364d376ff14b1d7990c87a8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/events/page-visibility-iframe-unload-expected.txt
@@ -0,0 +1,13 @@
+This test checks that the page visibility event is fired when frame is unloaded.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Loaded all frames.
+PASS frames[0].contentDocument.visibilityState is "hidden"
+PASS frames[1].contentDocument.visibilityState is "hidden"
+PASS frames[2].contentDocument.visibilityState is "hidden"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698