15 lines
340 B
HTML
15 lines
340 B
HTML
<p>
|
|
This page tests for a crash in the HTML tokenizer when adding a <script>
|
|
element to a document without a frame.
|
|
</p>
|
|
|
|
<pre>PASS: You didn't crash.</pre>
|
|
|
|
<script>
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
|
|
var doc = document.implementation.createHTMLDocument("");
|
|
doc.write("<\script src=''>;<\/script>");
|
|
</script>
|