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

Side by Side Diff: LayoutTests/fast/loader/stateobjects/document-destroyed-navigate-back-with-fragment-scroll-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: LOADED 2 ALERT: LOADED
3 ALERT: State popped - FirstEntry (type string) 3 ALERT: State popped - FirstEntry (type string)
4 ALERT: hashChanged - Last path component of location is document-destroyed-navig ate-back-with-fragment-scroll.html#FirstEntry 4 ALERT: hashChanged - Last path component of location is document-destroyed-navig ate-back-with-fragment-scroll.html#FirstEntry
5 ALERT: State popped - SecondEntry (type string) 5 ALERT: State popped - SecondEntry (type string)
6 ALERT: hashChanged - Last path component of location is document-destroyed-navig ate-back-with-fragment-scroll.html#SecondEntry 6 ALERT: hashChanged - Last path component of location is document-destroyed-navig ate-back-with-fragment-scroll.html#SecondEntry
7 ALERT: Navigating back... 7 ALERT: Navigating back...
8 main frame - has 1 onunload handler(s) 8 main frame - has 1 onunload handler(s)
9 ALERT: LOADED 9 ALERT: LOADED
10 ALERT: State popped - SecondEntryWillLaterBeReactivated (type string) 10 ALERT: Page shown - SecondEntryWillLaterBeReactivated (type string)
11 ALERT: State popped - FirstEntryWillLaterBeReactivated (type string) 11 ALERT: State popped - FirstEntryWillLaterBeReactivated (type string)
12 ALERT: hashChanged - Last path component of location is document-destroyed-navig ate-back-with-fragment-scroll.html#FirstEntryWillLaterBeReactivated 12 ALERT: hashChanged - Last path component of location is document-destroyed-navig ate-back-with-fragment-scroll.html#FirstEntryWillLaterBeReactivated
13 ALERT: Test complete 13 ALERT: Test complete
14 This test: 14 This test:
15 -Builds up a list of state object entries with fragment URLs. 15 -Builds up a list of state object entries with fragment URLs.
16 -Navigates through them to verify that the popstate and hashchanged events are f ired. 16 -Navigates through them to verify that the popstate and hashchanged events are f ired.
17 -Navigates away to a new document, with the old document being destroyed. 17 -Navigates away to a new document, with the old document being destroyed.
18 -Navigates back to the state object entries and verifies the popstate event is f ired even on the new documents. 18 -Navigates back to the state object entries and verifies the pageshow or popstat e events are fired on the new documents.
19 19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698