blob: 0f790d10a918a06188dcaba6fe48e64fd3aeb390 [file] [log] [blame]
<select id="select">
<option>FAIL</option>
<option>PASS</option>
<option selected="true">Did not run</option>
</select>
<p id="result">
</p>
<script>
if (window.testRunner)
testRunner.dumpAsText();
select.selectedIndex = 1;
result.innerText = select.selectedIndex == 1 ? "PASS" : "FAIL";
</script>