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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/forms/the-input-element/maxlength-expected.txt

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 unified diff | Download patch
OLDNEW
(Empty)
1 This is a testharness.js-based test.
2 FAIL Unset maxlength is -1 assert_equals: expected -1 but got 524288
3 FAIL Negative maxlength is always -1 assert_equals: expected -1 but got 524288
4 FAIL Non-numeric maxlength is -1 assert_equals: expected -1 but got 524288
5 PASS Assigning negative integer throws IndexSizeError
6 PASS Assigning non-numeric to maxlength sets maxlength to 0
7 Harness: the test ran to completion.
8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698