blob: 6facae14d86b3f409e990664c2a477d3bcbd186e [file] [log] [blame]
<body>
<script>
if (window.testRunner) {
testRunner.dumpChildFramesAsText();
testRunner.dumpAsText();
}
</script>
This test has to be run using `ContentShell --run-web-tests` in order to see if resources were loaded and the test passed.
<iframe srcdoc="<script> window.addEventListener('DOMContentLoaded', function() { if (window.internals) console.log(internals.isPreloaded('resources/script1.js') ? 'PASS' : 'FAIL'); }, false); </script><script src=resources/non-existant.js></script><script>document.write('<plaintext>');</script> <script src=resources/script1.js></script>" />