1 This test does the following:
2 -Uses window.onpopstate to add a popstate handler
3 -Makes a call to pushState()
4 -Makes sure the history length is correct
5 -Goes back, and makes sure the popstate event is correct
6 -Goes forward, and makes sure the popstate event is correct
9 State popped - null (type object)
10 State popped - StateStringData (type string)