1 This test verifies that navigating to entries created by pushState or replaceState correctly restores scroll position correctly and respects "scrollRestoration" flag.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 PASS history.state.key is "#6"
8 PASS document.scrollingElement.scrollLeft is 0
9 PASS document.scrollingElement.scrollTop is 0
11 PASS history.state.key is "#5"
12 PASS document.scrollingElement.scrollLeft is 0
13 PASS document.scrollingElement.scrollTop is 0
15 PASS history.state.key is "#4"
16 PASS document.scrollingElement.scrollLeft is 200
17 PASS document.scrollingElement.scrollTop is 400
19 PASS history.state.key is "#3"
20 PASS document.scrollingElement.scrollLeft is 150
21 PASS document.scrollingElement.scrollTop is 300
23 PASS history.state.key is "#2"
24 PASS document.scrollingElement.scrollLeft is 100
25 PASS document.scrollingElement.scrollTop is 200
27 PASS history.state.key is "#1"
28 PASS document.scrollingElement.scrollLeft is 50
29 PASS document.scrollingElement.scrollTop is 100
30 PASS successfullyParsed is true