mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision ac16628eb7eb601957382053011363d2bcf8ce44
This commit is contained in:
parent
ea7e753cea
commit
7e7c8873e4
4408 changed files with 664787 additions and 857286 deletions
|
@ -31,21 +31,21 @@ backgroundFetchTest((t, bgFetch) => {
|
|||
}, 'localhost http: fetch should register ok');
|
||||
|
||||
backgroundFetchTest((t, bgFetch) => {
|
||||
return promise_rejects(t, new TypeError(),
|
||||
return promise_rejects_js(t, TypeError,
|
||||
bgFetch.fetch(uniqueId(), 'wss:127.0.0.1'));
|
||||
}, 'wss: fetch should reject');
|
||||
|
||||
backgroundFetchTest((t, bgFetch) => {
|
||||
return promise_rejects(t, new TypeError(),
|
||||
return promise_rejects_js(t, TypeError,
|
||||
bgFetch.fetch(uniqueId(), 'file:///'));
|
||||
}, 'file: fetch should reject');
|
||||
|
||||
backgroundFetchTest((t, bgFetch) => {
|
||||
return promise_rejects(t, new TypeError(),
|
||||
return promise_rejects_js(t, TypeError,
|
||||
bgFetch.fetch(uniqueId(), 'data:text/plain,foo'));
|
||||
}, 'data: fetch should reject');
|
||||
|
||||
backgroundFetchTest((t, bgFetch) => {
|
||||
return promise_rejects(t, new TypeError(),
|
||||
return promise_rejects_js(t, TypeError,
|
||||
bgFetch.fetch(uniqueId(), 'foobar:bazqux'));
|
||||
}, 'unknown scheme fetch should reject');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue