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

Unified Diff: LayoutTests/fast/loader/scroll-position-not-restored-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: Improve the test Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/loader/scroll-position-not-restored-for-history-api-expected.txt
diff --git a/LayoutTests/fast/loader/scroll-position-not-restored-for-history-api-expected.txt b/LayoutTests/fast/loader/scroll-position-not-restored-for-history-api-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eafed7f0367e6296614a16e6f36d03e8d783bcca
--- /dev/null
+++ b/LayoutTests/fast/loader/scroll-position-not-restored-for-history-api-expected.txt
@@ -0,0 +1,15 @@
+This test verifies that navigating to entries created by pushState or replaceState does not restore scroll position.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+verifying #2
+PASS document.body.scrollTop is 0
+PASS document.body.scrollLeft is 0
+verifying #1
+PASS document.body.scrollTop is 0
+PASS document.body.scrollLeft is 0
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698