<html>
<form><input required><input type=submit id=submit><script>
submit.click();
</script>
</html><!-- Comment required for test to crash -->
<html>
<form><input required><input type=submit id=submit><script>
submit.click();
</script>
</html><!-- Comment required for test to crash -->