4 testRunner
.dumpAsText();
6 window
.addEventListener('DOMContentLoaded', function() {
8 console
.log(internals
.isPreloaded("resources/image1.png") ? "PASS" : "FAIL");
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 <img src=resources/image1.png
>