blob: 0094e99d2368abf35c4a4c0182ff64a4af3fc954 [file] [log] [blame]
<!DOCTYPE html>
<script>
if (window.testRunner) {
testRunner.dumpAsText()
testRunner.waitUntilDone();
}
var finishedScript = false;
</script>
<script src="/js-test-resources/js-test.js"></script>
<link rel=preload href="../resources/slow-script.pl?delay=400" as=script onload="finishedScript = true;">
<body>
<script>
window.addEventListener("load", function() {
shouldBeTrue("finishedScript");
setTimeout(function() { testRunner.notifyDone(); }, 0);
});
var scr = document.createElement("script");
scr.src = "../resources/slow-script.pl?delay=400";
document.body.appendChild(scr);
</script>
</body>