mirror of
https://github.com/servo/servo.git
synced 2025-08-18 03:45:33 +01:00
Update web-platform-tests to revision 0f0b7a7e353421b600ee555bf354d3a98bb603ae
This commit is contained in:
parent
363073568e
commit
71dcf37d55
175 changed files with 2749 additions and 678 deletions
|
@ -1368,3 +1368,10 @@ promise_test(t => {
|
|||
e => assert_equals(e, 'string argument', 'e should be \'string argument\''));
|
||||
});
|
||||
}, 'abort with a string argument should set the stored error to that argument');
|
||||
|
||||
promise_test(t => {
|
||||
const ws = new WritableStream();
|
||||
const writer = ws.getWriter();
|
||||
return promise_rejects(t, new TypeError(), ws.abort(), 'abort should reject')
|
||||
.then(() => writer.ready);
|
||||
}, 'abort on a locked stream should reject');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue