blob: b17c938acfaa943c064bb19a962216d42072d323 [file] [log] [blame]
This test does the following:
-Uses body.onpopstate to add a popstate handler (both by using the inline attribute and a script-assigned attribute)
-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)