blob: 159155e9bd4549ed65d6ac8acfa6860e9ad348bb [file] [log] [blame]
Make sure the same deserialization of the state object is used every time (both in the history object and popstate events).
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS history.state is defined.
PASS history.state === history.state is true
PASS history.state !== stateObject is true
PASS history.state === stateObject is true
Inside popstate event
PASS history.state !== stateObject is true
PASS popStateEvent.state !== stateObject is true
PASS popStateEvent.state === history.state is true
PASS successfullyParsed is true
TEST COMPLETE