Index: LayoutTests/fast/forms/input-maxlength.html |
diff --git a/LayoutTests/fast/forms/input-maxlength.html b/LayoutTests/fast/forms/input-maxlength.html |
index f28f2d7463dc2fd0840ab77dab68f2ab39b4cc55..d54d4d75705468f762e0b1c7212d41ee4d217b5f 100644 |
--- a/LayoutTests/fast/forms/input-maxlength.html |
+++ b/LayoutTests/fast/forms/input-maxlength.html |
@@ -47,7 +47,7 @@ |
debug('Some tests for .maxLength property.'); |
input = document.createElement("input"); |
shouldBe("input.maxLength", "implicitMaxLength"); |
- shouldThrow("input.maxLength = -1", "'Error: IndexSizeError: DOM Exception 1'"); |
+ shouldThrow("input.maxLength = -1", "'IndexSizeError: Index or size was negative, or greater than the allowed value.'"); |
input.maxLength = 100; |
shouldBe("input.getAttribute('maxlength')", "'100'"); |
</script> |