diff --git a/components/script/dom/readablestream.rs b/components/script/dom/readablestream.rs index f605b0a0422..b27b73e66eb 100644 --- a/components/script/dom/readablestream.rs +++ b/components/script/dom/readablestream.rs @@ -723,6 +723,9 @@ impl PipeTo { actions.push(promise); } + // Shutdown with an action consisting + // of getting a promise to wait for all of the actions in actions, + // and with error. wait_for_all_promise(cx, global, actions, realm, can_gc) }, };