blob: d6ae31f5154ec4bfd690d6d32cc2c5602aa02d03 [file] [log] [blame]
<!DOCTYPE html>
<head>
<script src="../../resources/js-test-pre.js"></script>
<style type="text/css">
div {
position: relative;
}
</style>
</head>
<body>
<form>
<select required>
<option value="">X</option>
<option>Y</option>
</select>
<input type=submit id="submit">
</form>
<div id=console></div>
<script>
document.getElementById('submit').click();
setTimeout(function () {
document.getElementsByTagName('select')[0].selectedIndex = 1;
testPassed('Not crashed');
finishJSTest();
}, 0);
window.jsTestIsAsync = true;
</script>
<script src="../../resources/js-test-post.js"></script>
</body>