mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Update web-platform-tests to revision e2eb25aaa6dd3c512b172588f3400f9c25a410c3
This commit is contained in:
parent
3d4a416c6b
commit
8b66216ed2
484 changed files with 1945 additions and 1089 deletions
|
@ -6,12 +6,13 @@
|
|||
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();
|
||||
t.step_timeout(function() {
|
||||
verifyPreloadAndRTSupport();
|
||||
verifyNumberOfResourceTimingEntries("/fonts/CanvasTest.ttf?link-header-on-subresource", 1);
|
||||
t.done();
|
||||
}, 5000);
|
||||
}));
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue