blob: fa22a8495c30342f3463d92f53f08fa995ed15f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<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>
|