diff --git a/index.bs b/index.bs index 4ed66328..8e84f038 100644 --- a/index.bs +++ b/index.bs @@ -974,6 +974,7 @@ queue a task to run the following: from. 1. Remove |stream| from the |transport|'s [=[[OutgoingStreams]]=]. 1. Let |reason| be the value from the STOP_SENDING frame from the remote side. + 1. Perform ! [$WritableStreamStartErroring$](|stream|, |reason|). 1. [=Resolve=] {{SendStream}}.{{SendStream/remoteCanceled}} with a new {{StreamAbortInfo}} with the {{StreamAbortInfo/errorCode}} set to |reason|. @@ -1038,7 +1039,7 @@ queue a task to run the following: 1. Let |transport| be the {{WebTransport}}, which the |stream| was created from. 1. Let |reason| be the value from the message from the remote side. - 1. Error |stream| with |reason| (TODO). + 1. Perform ! [$ReadableStreamError$](|stream|, |reason|). The {{ReceiveStream}}'s cancelAlgorithm is: 1. Let |stream| be the {{ReceiveStream}} object.