mirror of
https://github.com/servo/servo.git
synced 2025-08-24 14:48:21 +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
|
@ -14,7 +14,7 @@
|
|||
var link = document.createElement('link');
|
||||
link.rel="preload";
|
||||
link.as="font";
|
||||
link.href="http://{{domains[www1]}}:{{ports[http][0]}}/content-security-policy/support/Ahem.ttf";
|
||||
link.href="http://{{domains[www1]}}:{{ports[http][0]}}/fonts/Ahem.ttf?font-match-allowed";
|
||||
link.onload = t.step_func_done();
|
||||
link.onerror = t.unreached_func("Should have loaded the font.");
|
||||
document.getElementsByTagName('head')[0].appendChild(link);
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
var link = document.createElement('link');
|
||||
link.rel="preload";
|
||||
link.as="font";
|
||||
link.href="http://{{domains[www2]}}:{{ports[http][0]}}/content-security-policy/support/Ahem.ttf";
|
||||
link.href="http://{{domains[www2]}}:{{ports[http][0]}}/fonts/Ahem.ttf?font-mismatch-blocked";
|
||||
link.onload = t.unreached_func("Should not have loaded the font.");
|
||||
link.onerror = t.step_func_done();
|
||||
document.getElementsByTagName('head')[0].appendChild(link);
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
var link = document.createElement('link');
|
||||
link.rel="preload";
|
||||
link.as="font";
|
||||
link.href="http://{{domains[www]}}:{{ports[http][0]}}/content-security-policy/support/Ahem.ttf";
|
||||
link.href="http://{{domains[www]}}:{{ports[http][0]}}/fonts/Ahem.ttf?font-none-blocked";
|
||||
link.onload = t.unreached_func("Should not have loaded the font.");
|
||||
link.onerror = t.step_func_done();
|
||||
document.getElementsByTagName('head')[0].appendChild(link);
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
var link = document.createElement('link');
|
||||
link.rel="preload";
|
||||
link.as="font";
|
||||
link.href="/content-security-policy/support/Ahem.ttf";
|
||||
link.href="/fonts/Ahem.ttf?font-self-allowed";
|
||||
link.onload = t.step_func_done();
|
||||
link.onerror = t.unreached_func("Should have loaded the font.");
|
||||
document.getElementsByTagName('head')[0].appendChild(link);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue