mirror of
https://github.com/servo/servo.git
synced 2025-07-10 08:53:41 +01:00
18 lines
700 B
HTML
18 lines
700 B
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>
|
|
window.addEventListener("load", t.step_func(function() {
|
|
t.step_timeout(function() {
|
|
verifyPreloadAndRTSupport();
|
|
verifyNumberOfResourceTimingEntries("/fonts/CanvasTest.ttf?link-header-on-subresource", 1);
|
|
t.done();
|
|
}, 5000);
|
|
}));
|
|
</script>
|
|
|