Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / preloader / link.html
blob51fcedece09fd8ee06d623ea9f58d2e9137c2027
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/link1.css") ? "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 <link href=resources/link1.css rel="stylesheet">