3 <title>Test for Bug
12942</title>
4 <script type=
"text/javascript">
5 if (window
.layoutTestController
)
6 layoutTestController
.dumpAsText();
8 window
.onload = function() {
9 var select
= document
.getElementsByTagName('select')[0];
10 select
.options
[1].selected
= true;
11 select
.options
.length
= 1;
12 select
.selectedIndex
= 0;
17 <h2>Test for
<a href='http://bugs.webkit.org/show_bug.cgi?id=
12942'
>bug
12942</a></h2>
19 <p>This test has succeeded if it does not hit an assertion failure.
</p>