4 testRunner.dumpAsText();
6 window.addEventListener('DOMContentLoaded', function() {
8 console.log(internals.isPreloaded("resources/script1.js") ? "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 <script src=resources/script1.js></script>