blob: b6343c1ff2e63715d9bac5d0f7a0d29ef597cb40 [file] [log] [blame]
This tests that setting selection within a list box works correctly if there are optgroups
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS selectElement.selectedChildrenCount is 0
PASS selectElement.selectedChildrenCount became 1
PASS selectElement.selectedChildAtIndex(0).isEqual(option1) is true
PASS selectElement.selectedChildrenCount became 1
PASS selectElement.selectedChildAtIndex(0).isEqual(option2) is true
PASS selectElement.selectedChildrenCount became 1
PASS selectElement.selectedChildAtIndex(0).isEqual(option3) is true
PASS successfullyParsed is true
TEST COMPLETE