blob: afdcf9d5c4bc522ba316a2be1c7f2bb95c5d6e6c [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="/js-test-resources/js-test.js"></script>
<body>
<script>
var link = document.createElement("link");
link.as = "script";
link.rel = "preload";
link.href = "../resources/dummy.js";
document.body.appendChild(link);
</script>
<script src="http://127.0.0.1:8000/resources/slow-script.pl?delay=100"></script>
<script>
shouldBeTrue("internals.isPreloaded('../resources/dummy.js');");
</script>
</body>