1 This test does the following:
2 -Uses body.onpopstate to add a popstate handler (both by using the inline attribute and a script-assigned attribute)
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)