Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / tokenizer / nested-cached-scripts-and-stylesheet.html
blob641d263701d1938d8f8d0c8f44e3400387090725
1 <html>
2 <head>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
6 </script>
7 <!-- populate cache with this script -->
8 <script src=resources/empty_script.js></script>
9 </head>
10 <body>
11 Test that the tokenizer handles a case where: <br>
12 <ul>
13 <li>An external script is loaded to the cache.
14 <li>Another external script
15 <ul>
16 <li>triggers a stylesheet load by adding a link element.
17 <li>document.writes a script tag that references the first script.
18 </ul>
19 </ul>
20 This should not crash.
21 <script src=resources/load-stylesheet-and-document-write-script.js></script>