https://github.com/web-platform-tests/wpt
Raw File
Tip revision: bd350d7475c9eaf667a254ee7f49f25a06146b52 authored by Mike Pennisi on 10 December 2018, 20:43:57 UTC
Explicitly fetch test manifest
Tip revision: bd350d7
link-header-on-subresource.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 on subresources preload resources');
</script>
<link rel=stylesheet href="resources/dummy-preloads-subresource.css?link-header-on-subresource">
<script src="resources/dummy.js?pipe=trickle(d5)&link-header-on-subresources"></script>
<script>
    window.addEventListener("load", t.step_func(function() {
        verifyPreloadAndRTSupport();
        verifyNumberOfDownloads("/fonts/CanvasTest.ttf?link-header-on-subresource", 1);
        t.done();
    }));
</script>

back to top