mirror of
https://github.com/servo/servo.git
synced 2025-08-13 09:25:32 +01:00
Update web-platform-tests to revision 8a2ceb5f18911302b7a5c1cd2791f4ab50ad4326
This commit is contained in:
parent
462c272380
commit
1f531f66ea
5377 changed files with 174916 additions and 84369 deletions
|
@ -0,0 +1,17 @@
|
|||
<!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("/preload/resources/CanvasTest.ttf?link-header-on-subresource", 1);
|
||||
t.done();
|
||||
}));
|
||||
</script>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue