Index: third_party/WebKit/LayoutTests/fast/loader/scroll-restore-should-happen-during-load-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/fast/loader/scroll-restore-should-happen-during-load-expected.txt b/third_party/WebKit/LayoutTests/fast/loader/scroll-restore-should-happen-during-load-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..da1bf77a800645bfbd0796cc6de88154f762e4bf |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/loader/scroll-restore-should-happen-during-load-expected.txt |
@@ -0,0 +1,19 @@ |
+Test ensures that frame scroll position is only restored during the navigation process but does not occur after navigation is complete for same document navigations. |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+PASS document.scrollingElement.scrollLeft is 0 |
+PASS document.scrollingElement.scrollTop is 0 |
+Verify that scroll position restored correctly during navigation. |
+PASS document.scrollingElement.scrollLeft is 100 |
+PASS document.scrollingElement.scrollTop is 100 |
+PASS document.scrollingElement.scrollLeft is 0 |
+PASS document.scrollingElement.scrollTop is 0 |
+Verify that scroll position is not restored again after navigation is complete. |
+PASS document.scrollingElement.scrollLeft is 0 |
+PASS document.scrollingElement.scrollTop is 0 |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |