Update web-platform-tests to revision eb6b0210d6f0b1b44bc74385de04a2291ce2575c

This commit is contained in:
WPT Sync Bot 2019-02-19 20:48:08 -05:00
parent cc8a9fa928
commit 459fbb1a34
30 changed files with 551 additions and 108 deletions

View file

@ -399,3 +399,15 @@ promise_test(t => {
});
});
}, 'close() should not reject until no sink methods are in flight');
promise_test(() => {
const ws = new WritableStream();
const writer1 = ws.getWriter();
return writer1.close().then(() => {
writer1.releaseLock();
const writer2 = ws.getWriter();
const ready = writer2.ready;
assert_equals(ready.constructor, Promise);
return ready;
});
}, 'ready promise should be initialised as fulfilled for a writer on a closed stream');