Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: LayoutTests/fast/forms/input-maxlength.html

Issue 84693008: Improve HTMLInputElement exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/forms/input-maxlength.html
diff --git a/LayoutTests/fast/forms/input-maxlength.html b/LayoutTests/fast/forms/input-maxlength.html
index 5cf2ebe44d772fc4f39e7030cdefe868ab4c77b9..4d180916089e198b0e119bcdd63abbe1d9eb673a 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", "'IndexSizeError: Index or size was negative, or greater than the allowed value.'");
+ shouldThrow("input.maxLength = -1", '"IndexSizeError: Failed to set the \'maxLength\' property on \'HTMLInputElement\': The value provided (-1) is negative."');
input.maxLength = 100;
shouldBe("input.getAttribute('maxlength')", "'100'");
</script>
« no previous file with comments | « LayoutTests/fast/forms/image/image-setrangetext-expected.txt ('k') | LayoutTests/fast/forms/input-maxlength-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698