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

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: 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 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..9c9597b20cee1f3558e1ebfa5d96d04a575ba75c
--- /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 frameDocs[0].visibilityState is "hidden"
+PASS frameDocs[1].visibilityState is "hidden"
+PASS frameDocs[2].visibilityState is "hidden"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698