blob: 641d263701d1938d8f8d0c8f44e3400387090725 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<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>
|