summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/preload/avoid-delaying-onload-link-preload.html
blob: 6b9b577b89c3b98583a49d4235da362f741e9732 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/preload/resources/preload_helper.js"></script>
<script>
    var t = async_test('Makes sure link preload preloaded resources are not delaying onload');
</script>
<link rel=preload href="resources/dummy.js?pipe=trickle(d5)" as=script>
<script>
    window.addEventListener("load", t.step_func(function() {
        verifyPreloadAndRTSupport();
        verifyNumberOfResourceTimingEntries("resources/dummy.js?pipe=trickle(d5)", 0);
        t.done();
    }));
</script>