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