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

Unified Diff: LayoutTests/fast/events/before-unload-return-value-from-listener-expected.txt

Issue 158783002: Limit beforeunload returnValue propagation to event handlers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Switch tests to use onbeforeunload event handlers instead. Created 6 years, 10 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: LayoutTests/fast/events/before-unload-return-value-from-listener-expected.txt
diff --git a/LayoutTests/fast/events/before-unload-returnValue-expected.txt b/LayoutTests/fast/events/before-unload-return-value-from-listener-expected.txt
similarity index 52%
copy from LayoutTests/fast/events/before-unload-returnValue-expected.txt
copy to LayoutTests/fast/events/before-unload-return-value-from-listener-expected.txt
index 46b00e600fdb25ee4637febcef1535a7ba591eb6..b4d3619cfa5a3647d5b0ebb139586e7f7842a00d 100644
--- a/LayoutTests/fast/events/before-unload-returnValue-expected.txt
+++ b/LayoutTests/fast/events/before-unload-return-value-from-listener-expected.txt
@@ -1,12 +1,10 @@
-CONFIRM NAVIGATION: This is beforeunload from the top level frame.
-Tests the returnValue attribute of the BeforeUnloadEvent.
+Tests the returnValue attribute of the BeforeUnloadEvent from an event listener.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS testEvent.__proto__ is BeforeUnloadEvent.prototype
PASS testEvent.returnValue is ""
-PASS testEvent.returnValue is "This is beforeunload from the top level frame."
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698