17 lines
495 B
Plaintext
17 lines
495 B
Plaintext
Tests that popstate events fire when navigating between pages (and history entries created via pushState) that are in the page cache.
|
|
|
|
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
load fired
|
|
pushState with new state object for page 1
|
|
going to page 2
|
|
load fired
|
|
going back to page 1 with new state object
|
|
popstate fired with state newState
|
|
going back to page 1 in initial state
|
|
popstate fired with state null
|
|
PASS successfullyParsed is true
|
|
|
|
TEST COMPLETE
|
|
|