mirror of
https://github.com/servo/servo.git
synced 2025-08-15 02:15:33 +01:00
Update web-platform-tests to revision 615bb572c95add74ca4fb9fed4af5269a49cf4ef
This commit is contained in:
parent
b628b6ef8e
commit
0aa76d7524
162 changed files with 2069 additions and 636 deletions
|
@ -48,7 +48,7 @@ promise_test(async t => {
|
|||
await promise_rejects(t, "AbortError", acceptPromise);
|
||||
// As request is now "closed", trying to show it will fail
|
||||
await promise_rejects(t, "InvalidStateError", request.show());
|
||||
});
|
||||
}, "The same request cannot be shown multiple times.");
|
||||
|
||||
promise_test(async t => {
|
||||
// request is in "created" state.
|
||||
|
@ -70,7 +70,7 @@ promise_test(async t => {
|
|||
// The request is now "closed", so...
|
||||
await promise_rejects(t, "InvalidStateError", request.abort());
|
||||
await promise_rejects(t, "AbortError", acceptPromise);
|
||||
});
|
||||
}, "Aborting a request before it is shown doesn't prevent it from being shown later.");
|
||||
|
||||
promise_test(async t => {
|
||||
const request = new PaymentRequest(defaultMethods, defaultDetails);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue