OLD | NEW |
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 |
OLD | NEW |