blob: 686461f6d7c947e7d1e53e3a2efbb2b1be045d18 [file] [log] [blame]
<html>
<head>
<script>
function Crash() {
var x = new Option('t','v');
document.getElementById('result').innerHTML = "Test Passed.<BR/> Index for option element with no corresponding select is: " + x.index;
}
</script>
</head>
<body onload="Crash()">
This test makes sure we don't crash when trying to get the index of an option element that has no corresponding select element.
<div id="result">Test Failed</div>
</body>
</html>