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