diff --git a/index.bs b/index.bs index 460afa8e..673cfcd5 100644 --- a/index.bs +++ b/index.bs @@ -6895,9 +6895,10 @@ to grow organically as needed. otherwise. If this throws an exception |e|, return [=a promise rejected with=] |e|. 1. If |result| is a {{Promise}}, then return |result|. 1. Return [=a promise resolved with=] undefined. - 1. Let |cancelAlgorithmWrapper| be an algorithm that runs these steps: - 1. Let |result| be the result of running |cancelAlgorithm|, if |cancelAlgorithm| was given, or - null otherwise. If this throws an exception |e|, return [=a promise rejected with=] |e|. + 1. Let |cancelAlgorithmWrapper| be an algorithm that runs these steps given |reason|: + 1. Let |result| be the result of running |cancelAlgorithm| given |reason|, if |cancelAlgorithm| + was given, or null otherwise. If this throws an exception |e|, return + [=a promise rejected with=] |e|. 1. If |result| is a {{Promise}}, then return |result|. 1. Return [=a promise resolved with=] undefined. 1. If |sizeAlgorithm| was not given, then set it to an algorithm that returns 1. @@ -7218,9 +7219,10 @@ for="ReadableStream">locked if ! [$IsReadableStreamLocked$](|stream|) retu null otherwise. If this throws an exception |e|, return [=a promise rejected with=] |e|. 1. If |result| is a {{Promise}}, then return |result|. 1. Return [=a promise resolved with=] undefined. - 1. Let |abortAlgorithmWrapper| be an algorithm that runs these steps: - 1. Let |result| be the result of running |abortAlgorithm|, if |abortAlgorithm| was given, or - null otherwise. If this throws an exception |e|, return [=a promise rejected with=] |e|. + 1. Let |abortAlgorithmWrapper| be an algorithm that runs these steps given |reason|: + 1. Let |result| be the result of running |abortAlgorithm| given |reason|, if |abortAlgorithm| was + given, or null otherwise. If this throws an exception |e|, return [=a promise rejected with=] + |e|. 1. If |result| is a {{Promise}}, then return |result|. 1. Return [=a promise resolved with=] undefined. 1. If |sizeAlgorithm| was not given, then set it to an algorithm that returns 1. @@ -8314,6 +8316,7 @@ James Pryor, Janessa Det, Jason Orendorff, Jeffrey Yasskin, +Jeremy Roman, Jens Nockert, Lennart Grahl, Luca Casonato,