Back to Chromium

Popstate After Load Complete Body Attribute

third_party/blink/web_tests/fast/loader/stateobjects/popstate-after-load-complete-body-attribute.html

150.0.7829.2352 B
Original Source
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