blob: c9d4b29dbff3232a6e78d160dd5cd154a30078b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
This test does the following:
-Uses window.onpopstate to add a popstate handler
-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)
|