| OLD | NEW |
| 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: Last path component of location is document-destroyed-navigate-back-with-
fragment-scroll.html#SecondEntryWillLaterBeReactivated | |
| 11 ALERT: State popped - SecondEntryWillLaterBeReactivated (type string) | 10 ALERT: State popped - SecondEntryWillLaterBeReactivated (type string) |
| 12 ALERT: State popped - FirstEntryWillLaterBeReactivated (type string) | 11 ALERT: State popped - FirstEntryWillLaterBeReactivated (type string) |
| 13 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 |
| 14 ALERT: Test complete | 13 ALERT: Test complete |
| 15 This test: | 14 This test: |
| 16 -Builds up a list of state object entries with fragment URLs. | 15 -Builds up a list of state object entries with fragment URLs. |
| 17 -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. |
| 18 -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. |
| 19 -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 popstate event is f
ired even on the new documents. |
| 20 | 19 |
| OLD | NEW |