<head> | |
<script> | |
function submitForm() | |
{ | |
if (window.testRunner) | |
window.testRunner.dumpAsText(); | |
document.getElementById("submitform").submit(); | |
} | |
</script> | |
</head> | |
<body onload="submitForm();"> | |
<p>This tests submits on an empty select. If successful, there should not be a crash. </p> | |
<form id="submitform" action=""> | |
<select name="bbb"> | |
<optgroup label="aaa" ></optgroup> | |
</select><br /> | |
</form> | |
</body> |