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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/text/input-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
1 This page tests that the maxlength attribute of the <input> element works correc tly. http://bugs.webkit.org/show_bug.cgi?id=14388 1 This page tests that the maxlength attribute of the <input> element works correc tly. http://bugs.webkit.org/show_bug.cgi?id=14388
2 2
3 Attempting to insert 0 characters with maxLength = -1. 3 Attempting to insert 0 characters with maxLength = -1.
4 PASS 4 PASS
5 Attempting to insert 0 characters with maxLength = 100. 5 Attempting to insert 0 characters with maxLength = 100.
6 PASS 6 PASS
7 Attempting to insert 0 characters with maxLength = 524288. 7 Attempting to insert 0 characters with maxLength = 524288.
8 PASS 8 PASS
9 Attempting to insert 0 characters with maxLength = 600000. 9 Attempting to insert 0 characters with maxLength = 600000.
10 PASS 10 PASS
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 PASS 66 PASS
67 Attempting to insert 530000 characters with maxLength = -1. 67 Attempting to insert 530000 characters with maxLength = -1.
68 PASS 68 PASS
69 Attempting to insert 530000 characters with maxLength = 100. 69 Attempting to insert 530000 characters with maxLength = 100.
70 PASS 70 PASS
71 Attempting to insert 530000 characters with maxLength = 524288. 71 Attempting to insert 530000 characters with maxLength = 524288.
72 PASS 72 PASS
73 Attempting to insert 530000 characters with maxLength = 600000. 73 Attempting to insert 530000 characters with maxLength = 600000.
74 PASS 74 PASS
75 Some tests for .maxLength property. 75 Some tests for .maxLength property.
76 PASS input.maxLength is implicitMaxLength
77 PASS input.maxLength = -1 threw exception IndexSizeError: Failed to set the 'max Length' property on 'HTMLInputElement': The value provided (-1) is negative..
78 PASS input.getAttribute('maxlength') is '100' 76 PASS input.getAttribute('maxlength') is '100'
79 PASS successfullyParsed is true 77 PASS successfullyParsed is true
80 78
81 TEST COMPLETE 79 TEST COMPLETE
82 80
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698