https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 433d39e107e2f257dd97236d2ffa4f39a3739acf authored by Emilio Cobos Álvarez on 11 April 2018, 12:29:23 UTC
[cssom] Remove comment that now is invalid per CSSWG resolution.
Tip revision: 433d39e
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