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

Side by Side 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 unified diff | Download patch
OLDNEW
1 CONFIRM NAVIGATION: This is beforeunload from the top level frame. 1 Tests the returnValue attribute of the BeforeUnloadEvent from an event listener.
2 Tests the returnValue attribute of the BeforeUnloadEvent.
3 2
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 4
6 5
7 PASS testEvent.__proto__ is BeforeUnloadEvent.prototype 6 PASS testEvent.__proto__ is BeforeUnloadEvent.prototype
8 PASS testEvent.returnValue is "" 7 PASS testEvent.returnValue is ""
9 PASS testEvent.returnValue is "This is beforeunload from the top level frame."
10 PASS successfullyParsed is true 8 PASS successfullyParsed is true
11 9
12 TEST COMPLETE 10 TEST COMPLETE
13 11
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698