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

Side by Side Diff: LayoutTests/fast/loader/stateobjects/document-destroyed-navigate-back-expected.txt

Issue 680273004: Never fire popstate event when navigating between documents (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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 main frame - has 1 onunload handler(s) 1 main frame - has 1 onunload handler(s)
2 ALERT: State popped - FirstEntry (type string) 2 ALERT: State popped - FirstEntry (type string)
3 ALERT: State popped - SecondEntry (type string) 3 ALERT: State popped - SecondEntry (type string)
4 ALERT: Navigating back... 4 ALERT: Navigating back...
5 main frame - has 1 onunload handler(s) 5 main frame - has 1 onunload handler(s)
6 ALERT: Last path component of location is document-destroyed-navigate-back.html? SecondEntryWillLaterBeReactivated 6 ALERT: Last path component of location is document-destroyed-navigate-back.html? SecondEntryWillLaterBeReactivated
7 ALERT: State popped - SecondEntryWillLaterBeReactivated (type string) 7 ALERT: Page shown - SecondEntryWillLaterBeReactivated (type string)
8 ALERT: State popped - FirstEntryWillLaterBeReactivated (type string) 8 ALERT: State popped - FirstEntryWillLaterBeReactivated (type string)
9 ALERT: Test complete 9 ALERT: Test complete
10 This test: 10 This test:
11 -Builds up a list of state object entries with fragment URLs. 11 -Builds up a list of state object entries with fragment URLs.
12 -Navigates through them to verify that the popstate event is fired. 12 -Navigates through them to verify that the popstate event is fired.
13 -Navigates away to a new document, with the old document being destroyed. 13 -Navigates away to a new document, with the old document being destroyed.
14 -Navigates back to the state object entries and verifies the popstate event is f ired even on the new documents. 14 -Navigates back to the state object entries and verifies the pageshow or popstat e events are fired on the new documents.
15 15
16 16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698