summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/preload/avoid-delaying-onload-link-preload-style.html
blob: 299713834094fb9661c2ea46aa7022c1af2cdc22 (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.css?pipe=trickle(d5)" as=style>
<script>
    window.addEventListener("load", t.step_func(function() {
        verifyPreloadAndRTSupport();
        verifyNumberOfResourceTimingEntries("resources/dummy.css?pipe=trickle(d5)", 0);
        t.done();
    }));
</script>