From 933e978b5e6e216c083bd90865b32566975182c1 Mon Sep 17 00:00:00 2001 From: gterzian <2792687+gterzian@users.noreply.github.com> Date: Thu, 5 Jun 2025 20:32:48 +0700 Subject: [PATCH] add spec comment Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> --- components/script/dom/readablestream.rs | 3 +++ 1 file changed, 3 insertions(+) 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) }, };