blob: 5ac0345a860ffcbcd2affacbf9646d1bb51c0801 [file] [log] [blame]
<!DOCTYPE html>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
<script src="http://127.0.0.1:8000/resources/slow-script.pl?delay=1000"></script>
<script src="http://127.0.0.1:8000/resources/checkPreload.js"></script>
<body>
This test makes sure that the Preload scanner doesn't preload the script resource, since it's defined in a srcset attribute.
<br/>
<script>
checkForPreload("resources/preload-test.jpg", false);
</script>
<script srcset="resources/preload-test.jpg">
</body>