blob: 641d263701d1938d8f8d0c8f44e3400387090725 [file] [log] [blame]
<html>
<head>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
<!-- populate cache with this script -->
<script src=resources/empty_script.js></script>
</head>
<body>
Test that the tokenizer handles a case where: <br>
<ul>
<li>An external script is loaded to the cache.
<li>Another external script
<ul>
<li>triggers a stylesheet load by adding a link element.
<li>document.writes a script tag that references the first script.
</ul>
</ul>
This should not crash.
<script src=resources/load-stylesheet-and-document-write-script.js></script>