Tame Promise.resolve
#1130
Labels
endo
enhancement
New feature or request
kriskowal-review-2024-01
Issues that kriskowal wants to bring to the attention of the team for review as of January, 2024
ses
@erights's intention for
Promise.resolve
was that it'd be safe against evil promises and callbacks. To quote #1126:That PR explored a way to do this through a patched
Promise.prototype.constructor
, but we realized that was not tenable. However it seems like simply tamingPromise.resolve
might be sufficient. There is an analysis in the comments of that issue, but it hasn't been double-checked.The text was updated successfully, but these errors were encountered: