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

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

Issue 1615003002: Fix behavior of HTMLInputElement.maxLength/minLength getter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: V2 Created 4 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/forms/text/input-maxlength-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/forms/text/input-maxlength.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/text/input-maxlength.html b/third_party/WebKit/LayoutTests/fast/forms/text/input-maxlength.html
index d95eb452d7abfd58b15307a88f2f1393af50f407..0432e3df7df4b1882f76822914c4b00dc97f6648 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/text/input-maxlength.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/text/input-maxlength.html
@@ -46,7 +46,7 @@
debug('Some tests for .maxLength property.');
input = document.createElement("input");
- shouldBe("input.maxLength", "implicitMaxLength");
+ shouldBe("input.maxLength", "-1");
tkent 2016/01/22 05:03:30 Let's remove line 49 and 50 because they are teste
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'");
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/forms/text/input-maxlength-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698