You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug 1992103 - Align async modules rejection order with fulfillment order r=jonco
This patch inverts the order in which we reject promises in
AsyncModuleExecutionRejected to match AsyncModuleExecutionFulfilled:
first the promise corresponding to the leaf module (the one that throws)
is rejected, and then its ancestors.
This change was discussed at the July 2025 TC39 meeting.
Spec PR: tc39/ecma262#3695
test262: tc39/test262#4591
Differential Revision: https://phabricator.services.mozilla.com/D267210
UltraBlame original commit: a3cf4d1eef17209c4c4194e07f38fe870c417781
0 commit comments