haikuwebkit/LayoutTests/fast/loader/stateobjects/popstate-after-load-complet...

12 lines
374 B
Plaintext

This test does the following:
-Listens for the popstate event using addEventListener
-Makes a call to pushState()
-Makes sure the history length is correct
-Goes back, and makes sure the popstate event is correct
-Goes forward, and makes sure the popstate event is correct
History length is 2
State popped - null (type object)
State popped - StateStringData (type string)