https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 93776cefe33e150432abe256951e35e385ba82e2 authored by Ian Kilpatrick on 12 April 2018, 12:08:38 UTC
[css-layout-api] Fix DCHECK with the custom layout and multicol.
Tip revision: 93776ce
link-header-preload.html
<!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 that Link headers preload resources');
</script>
<body>
<script src="resources/dummy.js?pipe=trickle(d5)&link-header-preload"></script>
<script>
    window.addEventListener("load", t.step_func(function() {
        verifyPreloadAndRTSupport();
        verifyNumberOfDownloads("resources/square.png?link-header-preload", 1);
        verifyNumberOfDownloads("resources/dummy.js?link-header-preload", 1);
        verifyNumberOfDownloads("resources/dummy.css?link-header-preload", 1);
        t.done();
    }));
</script>
</body>
back to top