blob: 62b56534cd63e225e36cdcfb1bd2d9d766f6e119 [file] [log] [blame]
<body>
<script>
if (window.testRunner) {
testRunner.dumpChildFramesAsText();
testRunner.dumpAsText();
}
</script>
This test has to be run using `ContentShell --run-layout-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>" />