<!DOCTYPE html>
<html>
<head>
<script src="../../resources/js-test.js"></script>
</head>
<body>
<form>
<input required>
<input type=submit>
</form>
<div id=console></div>
<script>
function check() {
testPassed('Not crashed.');
finishJSTest();
}
if (window.testRunner) {
window.jsTestIsAsync = true;
setTimeout(check, 10);
document.getElementsByTagName('input')[1].click();
} else {
debug('Click the submit button. The test passes if the browser doesn\'t crash.');
}
</script>
</body>
</html>