Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Side by Side Diff: LayoutTests/fast/loader/scroll-position-restoration-for-history-api-expected.txt

Issue 927213004: Accept options in history APIs to allow scroll restoration to be disabled (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: minor Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 This test verifies that navigating to entries created by pushState or replaceSta te correctly restores scroll position correctly and respects "willRestoreScroll" flag.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 verifying #6
7 PASS history.state.key is "#6"
8 PASS document.body.scrollLeft is 0
9 PASS document.body.scrollTop is 0
10 verifying #5
11 PASS history.state.key is "#5"
12 PASS document.body.scrollLeft is 0
13 PASS document.body.scrollTop is 0
14 verifying #4
15 PASS history.state.key is "#4"
16 PASS document.body.scrollLeft is 200
17 PASS document.body.scrollTop is 400
18 verifying #3
19 PASS history.state.key is "#3"
20 PASS document.body.scrollLeft is 150
21 PASS document.body.scrollTop is 300
22 verifying #2
23 PASS history.state.key is "#2"
24 PASS document.body.scrollLeft is 100
25 PASS document.body.scrollTop is 200
26 verifying #1
27 PASS history.state.key is "#1"
28 PASS document.body.scrollLeft is 50
29 PASS document.body.scrollTop is 100
30 PASS successfullyParsed is true
31
32 TEST COMPLETE
33
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698