blob: e94669b9eb9a3ce3321356259878f623c897248c [file] [edit]
Tests that innerHTML parsing of a select with many options is not O(n²).
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS select.options.length is optionCount
PASS select.value is "option 0"
PASS select.selectedIndex is 0
PASS select.options.length is optionCount
PASS select.value is "selected option"
PASS select.selectedIndex is optionCount - 1
PASS successfullyParsed is true
TEST COMPLETE