mirror of
https://github.com/servo/servo.git
synced 2025-10-17 00:39:15 +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
|
@ -5,7 +5,7 @@ function fetch_should_succeed(test, request) {
|
|||
}
|
||||
|
||||
function fetch_should_fail(test, url, method = 'GET') {
|
||||
return promise_rejects(test, new TypeError, fetch(url, {method: method}));
|
||||
return promise_rejects_js(test, TypeError, fetch(url, {method: method}));
|
||||
}
|
||||
|
||||
fetch_tests('fetch', fetch_should_succeed, fetch_should_fail);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue