11 lines
586 B
HTML
11 lines
586 B
HTML
<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>" />
|