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

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

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 months 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 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>
« 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