mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +01:00
Update web-platform-tests to revision 181f8381fe9373e027f4b5ba5d1439843ad2c2e6
This commit is contained in:
parent
0dda115609
commit
0355b8e70d
105 changed files with 2775 additions and 764 deletions
|
@ -65,3 +65,10 @@ function runReferrerTests(test_cases) {
|
|||
}, 'Referrer of SignedHTTPExchange test : ' + JSON.stringify(test_case));
|
||||
}
|
||||
}
|
||||
|
||||
function addPrefetch(url) {
|
||||
const link = document.createElement('link');
|
||||
link.rel = 'prefetch';
|
||||
link.href = url;
|
||||
document.body.appendChild(link);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue