4 <script src=
"../resources/js-test.js"></script>
8 <optgroup id=optgroup1
>
11 <select id=
"listbox" multiple
>
12 <optgroup id=optgroup2
>
18 description("This test ensures that inserting a selected option into an HTML Select element doesn't cause a crash.");
20 if (window
.testRunner
)
21 testRunner
.dumpAsText();
23 var optgroup1
= document
.getElementById('optgroup1');
24 var optgroup2
= document
.getElementById('optgroup2');
26 if (window
.accessibilityController
)
27 accessibilityController
.accessibleElementById('dummy');
29 var listbox
= document
.getElementById('listbox');
32 optgroup1
.appendChild(optgroup2
);