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

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

Issue 1292653003: [bindings] Avoid using custom binding for HTMLOptionsCollection.length attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Missed to fix the test case! 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
OLDNEW
1 This test that setting HTMLSelectElement.length is capped to 10,000, but that yo u can add additional Option elements by calling add. 1 This test that setting HTMLSelectElement.length is capped to 10,000, but that yo u can add additional Option elements by calling add.
2 2
3 Select length is 0 3 Select length is 0
4 Trying: - sel.length = 20000; 4 Trying: - sel.length = 20000;
5 Select length is 10000 5 Select length is 0
6 Trying: - sel.add(new Option, 0); 6 Trying: - sel.add(new Option, 0);
7 Select length is 10001 7 Select length is 1
8 Trying: - sel.length = 0; 8 Trying: - sel.length = 0;
9 Select length is 0 9 Select length is 0
10 10
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698