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

Unified Diff: LayoutTests/fast/forms/textarea-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/textarea-maxlength.html
diff --git a/LayoutTests/fast/forms/textarea-maxlength.html b/LayoutTests/fast/forms/textarea-maxlength.html
index f00a8e5da9685964be96c2618e5c742be7a88966..d34a8b43aeab6dc406eb35c2e5da4104cc731fe7 100644
--- a/LayoutTests/fast/forms/textarea-maxlength.html
+++ b/LayoutTests/fast/forms/textarea-maxlength.html
@@ -31,7 +31,7 @@ shouldBe('textArea.maxLength', '256');
textArea.maxLength = 13;
shouldBe('textArea.getAttribute("maxlength")', '"13"');
-shouldThrow('textArea.maxLength = -1', '"Error: IndexSizeError: DOM Exception 1"');
+shouldThrow('textArea.maxLength = -1', '"IndexSizeError: Index or size was negative, or greater than the allowed value."');
shouldBe('textArea.getAttribute("maxlength")', '"13"'); // Not changed
textArea.maxLength = null;
« no previous file with comments | « LayoutTests/fast/forms/setrangetext-expected.txt ('k') | LayoutTests/fast/forms/textarea-maxlength-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698