Update web-platform-tests to revision 0f0b7a7e353421b600ee555bf354d3a98bb603ae

This commit is contained in:
WPT Sync Bot 2019-02-01 20:48:40 -05:00
parent 363073568e
commit 71dcf37d55
175 changed files with 2749 additions and 678 deletions

View file

@ -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');