3 if (window
.testRunner
) {
4 testRunner
.waitUntilDone();
5 testRunner
.dumpAsText();
7 function testScroll() {
8 window
.setTimeout(function() {
9 if (window
.pageYOffset
== 20) {
10 document
.body
.innerHTML
= "SUCCESS";
11 testRunner
.notifyDone();
14 window
.setTimeout(function() {
15 window
.location
.reload();
24 This test checks that a page reloaded by window.location.reload() restores its scroll state.
25 https://bugs.webkit.org/show_bug.cgi?id=
62482