@@ -6895,9 +6895,10 @@ to grow organically as needed.
6895
6895
otherwise. If this throws an exception |e|, return [=a promise rejected with=] |e|.
6896
6896
1. If |result| is a {{Promise}} , then return |result|.
6897
6897
1. Return [=a promise resolved with=] undefined.
6898
- 1. Let |cancelAlgorithmWrapper| be an algorithm that runs these steps:
6899
- 1. Let |result| be the result of running |cancelAlgorithm|, if |cancelAlgorithm| was given, or
6900
- null otherwise. If this throws an exception |e|, return [=a promise rejected with=] |e|.
6898
+ 1. Let |cancelAlgorithmWrapper| be an algorithm that runs these steps given |reason|:
6899
+ 1. Let |result| be the result of running |cancelAlgorithm| given |reason|, if |cancelAlgorithm|
6900
+ was given, or null otherwise. If this throws an exception |e|, return
6901
+ [=a promise rejected with=] |e|.
6901
6902
1. If |result| is a {{Promise}} , then return |result|.
6902
6903
1. Return [=a promise resolved with=] undefined.
6903
6904
1. If |sizeAlgorithm| was not given, then set it to an algorithm that returns 1.
@@ -7218,9 +7219,10 @@ for="ReadableStream">locked</dfn> if ! [$IsReadableStreamLocked$](|stream|) retu
7218
7219
null otherwise. If this throws an exception |e|, return [=a promise rejected with=] |e|.
7219
7220
1. If |result| is a {{Promise}} , then return |result|.
7220
7221
1. Return [=a promise resolved with=] undefined.
7221
- 1. Let |abortAlgorithmWrapper| be an algorithm that runs these steps:
7222
- 1. Let |result| be the result of running |abortAlgorithm|, if |abortAlgorithm| was given, or
7223
- null otherwise. If this throws an exception |e|, return [=a promise rejected with=] |e|.
7222
+ 1. Let |abortAlgorithmWrapper| be an algorithm that runs these steps given |reason|:
7223
+ 1. Let |result| be the result of running |abortAlgorithm| given |reason|, if |abortAlgorithm| was
7224
+ given, or null otherwise. If this throws an exception |e|, return [=a promise rejected with=]
7225
+ |e|.
7224
7226
1. If |result| is a {{Promise}} , then return |result|.
7225
7227
1. Return [=a promise resolved with=] undefined.
7226
7228
1. If |sizeAlgorithm| was not given, then set it to an algorithm that returns 1.
@@ -8314,6 +8316,7 @@ James Pryor,
8314
8316
Janessa Det,
8315
8317
Jason Orendorff,
8316
8318
Jeffrey Yasskin,
8319
+ Jeremy Roman,
8317
8320
Jens Nockert,
8318
8321
Lennart Grahl,
8319
8322
Luca Casonato,
0 commit comments