chromium/third_party/blink/web_tests/fast/preloader/noscript.html

<body>
<script>
if (window.testRunner)
    testRunner.dumpAsText();

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