<script> if (window.testRunner) testRunner.dumpAsText(); </script> This tests that bad attribute syntax doesn't mistakenly trigger the self-closing script quirk. <script type"text/javascript"> var thisShouldNotShowUp; </script>