Index: LayoutTests/fast/dom/Window/window-scroll-arguments-expected.txt |
diff --git a/LayoutTests/fast/dom/Window/window-scroll-arguments-expected.txt b/LayoutTests/fast/dom/Window/window-scroll-arguments-expected.txt |
index b04452d60f27a72eab49e4027dc33d7fc402037b..8206e95b10e73f555a1bcb10daac36d5ae3ec12d 100644 |
--- a/LayoutTests/fast/dom/Window/window-scroll-arguments-expected.txt |
+++ b/LayoutTests/fast/dom/Window/window-scroll-arguments-expected.txt |
@@ -1,4 +1,4 @@ |
-This test makes sure that calling the window scrolling methods with less than 2 arguments treats the missing arguments as 0. |
+This test makes sure that calling the window scrolling methods with less than 2 arguments throws exception. |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
@@ -7,11 +7,9 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE |
window.scrollTo Tests |
Testing - scrollTo with 0 arguments |
-PASS window.scrollX is resetX |
-PASS window.scrollY is resetY |
+PASS window.scrollTo() threw exception TypeError: Failed to execute 'scrollTo' on 'Window': 2 arguments required, but only 0 present.. |
Testing - scrollTo with 1 argument |
-PASS window.scrollX is resetX + x |
-PASS window.scrollY is resetY |
+PASS window.scrollTo(x) threw exception TypeError: Failed to execute 'scrollTo' on 'Window': 2 arguments required, but only 1 present.. |
Testing - scrollTo with more than 2 arguments |
PASS window.scrollX is x |
PASS window.scrollY is y |
@@ -19,11 +17,9 @@ PASS window.scrollY is y |
window.scroll Tests |
Testing - scroll with 0 arguments |
-PASS window.scrollX is resetX |
-PASS window.scrollY is resetY |
+PASS window.scroll() threw exception TypeError: Failed to execute 'scroll' on 'Window': 2 arguments required, but only 0 present.. |
Testing - scroll with 1 argument |
-PASS window.scrollX is resetX + x |
-PASS window.scrollY is resetY |
+PASS window.scroll(x) threw exception TypeError: Failed to execute 'scroll' on 'Window': 2 arguments required, but only 1 present.. |
Testing - scroll with more than 2 arguments |
PASS window.scrollX is x |
PASS window.scrollY is y |
@@ -31,11 +27,9 @@ PASS window.scrollY is y |
window.scrollBy Tests |
Testing - scrollBy with 0 arguments |
-PASS window.scrollX is resetX |
-PASS window.scrollY is resetY |
+PASS window.scrollBy() threw exception TypeError: Failed to execute 'scrollBy' on 'Window': 2 arguments required, but only 0 present.. |
Testing - scrollBy with 1 argument |
-PASS window.scrollX is resetX + x |
-PASS window.scrollY is resetY |
+PASS window.scrollBy(x) threw exception TypeError: Failed to execute 'scrollBy' on 'Window': 2 arguments required, but only 1 present.. |
Testing - scrollBy with more than 2 arguments |
PASS window.scrollX is resetX + x |
PASS window.scrollY is resetY + y |