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

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: Set to -1 for invalid attribute or negative Created 4 years, 10 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: 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..98038ab6bb98b8b91a2d9a797de6465851525457 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/text/input-maxlength.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/text/input-maxlength.html
@@ -46,8 +46,6 @@
debug('Some tests for .maxLength property.');
input = document.createElement("input");
- shouldBe("input.maxLength", "implicitMaxLength");
- 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>

Powered by Google App Engine
This is Rietveld 408576698