Index: LayoutTests/fast/scroll-behavior/main-frame-scroll.html |
diff --git a/LayoutTests/fast/scroll-behavior/main-frame-scroll.html b/LayoutTests/fast/scroll-behavior/main-frame-scroll.html |
index a192f1e9db0032359d82bd60bd797612e711cbe4..73907e157d11d19b8e7e3cdab26e90f20760a3bb 100644 |
--- a/LayoutTests/fast/scroll-behavior/main-frame-scroll.html |
+++ b/LayoutTests/fast/scroll-behavior/main-frame-scroll.html |
@@ -21,7 +21,7 @@ |
function jsScroll(testCase) { |
if (testCase.js) { |
- window.scroll(testCase.x, testCase.y, {behavior: testCase.js}); |
+ window.scroll({left: testCase.x, top: testCase.y, behavior: testCase.js}); |
} else { |
window.scroll(testCase.x, testCase.y); |
} |