| Index: third_party/WebKit/Source/core/streams/ReadableStream.js
|
| diff --git a/third_party/WebKit/Source/core/streams/ReadableStream.js b/third_party/WebKit/Source/core/streams/ReadableStream.js
|
| index 02f1dbaf73f014e0c6f412460466809e181038be..ba4a6b13ca406a4c704e11ce61d0e9515461d577 100644
|
| --- a/third_party/WebKit/Source/core/streams/ReadableStream.js
|
| +++ b/third_party/WebKit/Source/core/streams/ReadableStream.js
|
| @@ -177,7 +177,10 @@
|
| }
|
|
|
| pipeThrough({writable, readable}, options) {
|
| - this.pipeTo(writable, options);
|
| + const promise = this.pipeTo(writable, options);
|
| + if (v8.isPromise(promise)) {
|
| + v8.markPromiseAsHandled(promise);
|
| + }
|
| return readable;
|
| }
|
|
|
|
|