| Index: LayoutTests/fast/loader/scroll-position-restoration-for-history-api-expected.txt
|
| diff --git a/LayoutTests/fast/loader/scroll-position-restoration-for-history-api-expected.txt b/LayoutTests/fast/loader/scroll-position-restoration-for-history-api-expected.txt
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..be7039fb1a62dbfd9b8988c5b43b580bf2ed770b
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/loader/scroll-position-restoration-for-history-api-expected.txt
|
| @@ -0,0 +1,33 @@
|
| +This test verifies that navigating to entries created by pushState or replaceState correctly restores scroll position correctly and respects "willRestoreScroll" flag.
|
| +
|
| +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
| +
|
| +
|
| +verifying #6
|
| +PASS history.state.key is "#6"
|
| +PASS document.body.scrollLeft is 0
|
| +PASS document.body.scrollTop is 0
|
| +verifying #5
|
| +PASS history.state.key is "#5"
|
| +PASS document.body.scrollLeft is 0
|
| +PASS document.body.scrollTop is 0
|
| +verifying #4
|
| +PASS history.state.key is "#4"
|
| +PASS document.body.scrollLeft is 200
|
| +PASS document.body.scrollTop is 400
|
| +verifying #3
|
| +PASS history.state.key is "#3"
|
| +PASS document.body.scrollLeft is 150
|
| +PASS document.body.scrollTop is 300
|
| +verifying #2
|
| +PASS history.state.key is "#2"
|
| +PASS document.body.scrollLeft is 100
|
| +PASS document.body.scrollTop is 200
|
| +verifying #1
|
| +PASS history.state.key is "#1"
|
| +PASS document.body.scrollLeft is 50
|
| +PASS document.body.scrollTop is 100
|
| +PASS successfullyParsed is true
|
| +
|
| +TEST COMPLETE
|
| +
|
|
|