<script> | |
if (window.testRunner) | |
testRunner.dumpAsText(); | |
</script> | |
<form onsubmit="document.writeln('PASS'); return false"> | |
<table> | |
<form onsubmit="document.writeln('FAIL'); return false"> | |
<input type=submit> | |
</table> | |
<input type=submit> | |
<script> | |
document.getElementsByTagName('input')[0].click(); | |
document.getElementsByTagName('input')[1].click(); | |
</script> |