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