Index: LayoutTests/fast/dom/script-tests/non-numeric-values-numeric-parameters.js |
diff --git a/LayoutTests/fast/dom/script-tests/non-numeric-values-numeric-parameters.js b/LayoutTests/fast/dom/script-tests/non-numeric-values-numeric-parameters.js |
index 6d385ec132719060ff3f123bd23cd91434a3baee..2f9bccdbc1b6305f5e416fd63f9cc0a8a3eed6e3 100644 |
--- a/LayoutTests/fast/dom/script-tests/non-numeric-values-numeric-parameters.js |
+++ b/LayoutTests/fast/dom/script-tests/non-numeric-values-numeric-parameters.js |
@@ -339,11 +339,11 @@ shouldBe("nonNumericPolicy('document.createEvent(\"UIEvent\").initUIEvent(\"a\", |
// Window |
shouldBe("nonNumericPolicy('window.scrollBy(x, 0)')", "'any type allowed'"); |
-shouldBe("nonNumericPolicy('window.scrollBy(0, x)')", "'any type allowed'"); |
+shouldBe("nonNumericPolicy('window.scrollBy(0, x)')", "'any type allowed (but not omitted)'"); |
shouldBe("nonNumericPolicy('window.scrollTo(x, 0)')", "'any type allowed'"); |
-shouldBe("nonNumericPolicy('window.scrollTo(0, x)')", "'any type allowed'"); |
+shouldBe("nonNumericPolicy('window.scrollTo(0, x)')", "'any type allowed (but not omitted)'"); |
shouldBe("nonNumericPolicy('window.scroll(x, 0)')", "'any type allowed'"); |
-shouldBe("nonNumericPolicy('window.scroll(0, x)')", "'any type allowed'"); |
+shouldBe("nonNumericPolicy('window.scroll(0, x)')", "'any type allowed (but not omitted)'"); |
shouldBe("nonNumericPolicy('window.moveBy(x, 0)')", "'any type allowed'"); |
shouldBe("nonNumericPolicy('window.moveBy(0, x)')", "'any type allowed'"); |
shouldBe("nonNumericPolicy('window.moveTo(x, 0)')", "'any type allowed'"); |