Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / preloader / script.html
blob56a2d42aacd7553fa60f600490fdade8d43fc334
1 <body>
2 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
6 window.addEventListener('DOMContentLoaded', function() {
7 if (window.internals)
8 console.log(internals.isPreloaded("resources/script1.js") ? "PASS" : "FAIL");
9 }, false);
10 </script>
11 This test requires DumpRenderTree to see the log of what resources are loaded.
12 <script src=resources/non-existant.js></script>
13 <script>document.write("<plaintext>");</script>
14 <script src=resources/script1.js></script>