diff options
author | Kenta Moriuchi <moriken@kimamass.com> | 2022-10-29 18:25:23 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-29 18:25:23 +0900 |
commit | 59ac110edd1f376bed7fa6bbdbe2ee09c266bf74 (patch) | |
tree | da654d1ecb6141b620141d634d99ca34c6d568db /ext/web/06_streams.js | |
parent | edaceecec771cf0395639175b5a21d20530f6080 (diff) |
fix(core): fix APIs not to be affected by `Promise.prototype.then` modification (#16326)
Diffstat (limited to 'ext/web/06_streams.js')
-rw-r--r-- | ext/web/06_streams.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/web/06_streams.js b/ext/web/06_streams.js index 06397265c..0b9e00483 100644 --- a/ext/web/06_streams.js +++ b/ext/web/06_streams.js @@ -35,7 +35,6 @@ ObjectPrototypeIsPrototypeOf, ObjectSetPrototypeOf, Promise, - PromiseAll, PromisePrototypeCatch, PromisePrototypeThen, PromiseReject, @@ -43,6 +42,7 @@ queueMicrotask, RangeError, ReflectHas, + SafePromiseAll, SharedArrayBuffer, Symbol, SymbolAsyncIterator, @@ -2302,7 +2302,8 @@ }); } shutdownWithAction( - () => PromiseAll(ArrayPrototypeMap(actions, (action) => action())), + () => + SafePromiseAll(ArrayPrototypeMap(actions, (action) => action())), true, error, ); |