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

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

Issue 1509853008: Move select/option/optgroup-related tests in fast/forms to fast/forms/select. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 CONSOLE WARNING: Blocked to expand the option list to 2147483648 items. The max imum list length is 2147483647.
2 CONSOLE WARNING: Blocked to expand the option list and set an option at index=21 47483648. The maximum list length is 2147483647.
3 CONSOLE WARNING: Blocked to expand the option list and set an option at index=21 47483648. The maximum list length is 2147483647.
4 This test that setting HTMLSelectElement.length is capped to 2,147,483,647, and you can't add additional Option elements too.
5
6 PASS sel.length is 0
7 Trying: - sel.length = 2147483648;
8 PASS sel.length is 0
9 Trying: - sel.add(new Option, 0);
10 PASS sel.length is 1
11 Trying: - sel.length = 0;
12 PASS sel.length is 0
13 Index setter:
14 PASS sel[2147483648] = new Option(); sel.length is 0
15 PASS sel.options[2147483648] = new Option(); sel.length is 0
16 PASS successfullyParsed is true
17
18 TEST COMPLETE
19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698