Back to Chromium

Pushstate Then Replacestate

third_party/blink/web_tests/fast/loader/stateobjects/pushstate-then-replacestate.html

149.0.7827.2335 B
Original Source
This test does the following:
-Makes a call to pushState()
-Makes sure the history length is correct
-Makes a call to replaceState()
-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 represents the replaced state object