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