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

Side by Side Diff: LayoutTests/fast/forms/select-max-length-expected.txt

Issue 1291263003: Index setter of HTMLSelectElement and HTMLOptionsCollection should do nothing if the requested size… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update warning messages Created 5 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/fast/forms/select-max-length.html ('k') | Source/core/html/HTMLSelectElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 CONSOLE WARNING: Blocked to expand the option list to 20000 items. The maximum list length is 10000.
2 CONSOLE WARNING: Blocked to expand the option list and set an option at index=20 000. The maximum list length is 10000.
3 CONSOLE WARNING: Blocked to expand the option list and set an option at index=20 000. The maximum list length is 10000.
1 This test that setting HTMLSelectElement.length is capped to 10,000, but that yo u can add additional Option elements by calling add. 4 This test that setting HTMLSelectElement.length is capped to 10,000, but that yo u can add additional Option elements by calling add.
2 5
3 Select length is 0 6 PASS sel.length is 0
4 Trying: - sel.length = 20000; 7 Trying: - sel.length = 20000;
5 Select length is 0 8 PASS sel.length is 0
6 Trying: - sel.add(new Option, 0); 9 Trying: - sel.add(new Option, 0);
7 Select length is 1 10 PASS sel.length is 1
8 Trying: - sel.length = 0; 11 Trying: - sel.length = 0;
9 Select length is 0 12 PASS sel.length is 0
13 Index setter:
14 PASS sel[20000] = new Option(); sel.length is 0
15 PASS sel.options[20000] = new Option(); sel.length is 0
16 PASS successfullyParsed is true
10 17
18 TEST COMPLETE
19
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/select-max-length.html ('k') | Source/core/html/HTMLSelectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698