4 testRunner
.dumpAsText();
6 window
.addEventListener('DOMContentLoaded', function() {
7 if (window
.internals
) {
8 var success
= !internals
.isPreloaded("resources/noscript-image1.png") && internals
.isPreloaded("resources/noscript-image2.png");
9 console
.log(success
? "PASS" : "FAIL");
13 This test requires DumpRenderTree to see the log of what resources are loaded.
14 It checks that images inside a noscript block are not loaded.
15 <script src=resources/non-existant.js
></script>
16 <script>document
.write("<plaintext>");</script>
18 <img src=
"resources/noscript-image1.png">
20 <img src=
"resources/noscript-image2.png">