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

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: rebase 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 "scrollRestoration" flag.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 verifying #4
7 PASS history.state.key is "#4"
8 PASS document.body.scrollLeft is 200
9 PASS document.body.scrollTop is 400
10 verifying #3
11 PASS history.state.key is "#3"
12 PASS document.body.scrollLeft is 150
13 PASS document.body.scrollTop is 300
14 verifying #2
15 PASS history.state.key is "#2"
16 PASS document.body.scrollLeft is 100
17 PASS document.body.scrollTop is 200
18 verifying #1
19 PASS history.state.key is "#1"
20 PASS document.body.scrollLeft is 50
21 PASS document.body.scrollTop is 100
22 PASS successfullyParsed is true
23
24 TEST COMPLETE
25
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698