Update web-platform-tests to revision be5419e845d39089ba6dc338c1bd0fa279108317

This commit is contained in:
Josh Matthews 2018-01-04 13:44:24 -05:00
parent aa199307c8
commit 2b6f573eb5
3440 changed files with 109438 additions and 41750 deletions

View file

@ -207,6 +207,20 @@ promise_test(t => {
}, 'ReadableStream teeing: failing to cancel the original stream should cause cancel() to reject on branches');
test(t => {
let controller;
const stream = new ReadableStream({ start(c) { controller = c; } });
const [branch1, branch2] = stream.tee();
const promise = controller.error("error");
branch1.cancel().catch(_=>_);
branch2.cancel().catch(_=>_);
return promise;
}, 'ReadableStream teeing: erroring a teed stream should properly handle canceled branches');
promise_test(() => {
let controller;