<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> |