Skip to content

Conversation

nicolo-ribaudo
Copy link
Member

This PR implements the normative change that reached consensus in July 2025 (slides, notes)

This is what the exact consensus request was, that this PR matches:
image

@nicolo-ribaudo nicolo-ribaudo added normative change Affects behavior required to correctly evaluate some ECMAScript source text needs test262 tests The proposal should specify how to test an implementation. Ideally via github.com/tc39/test262 has consensus This has committee consensus. labels Oct 1, 2025
Copy link

github-actions bot commented Oct 1, 2025

The rendered spec for this PR is available at https://tc39.es/ecma262/pr/3695.

lando-prod-mozilla bot pushed a commit to mozilla-firefox/firefox that referenced this pull request Oct 3, 2025
…der 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has consensus This has committee consensus. needs test262 tests The proposal should specify how to test an implementation. Ideally via github.com/tc39/test262 normative change Affects behavior required to correctly evaluate some ECMAScript source text
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant