Intent to ship: Promise.allKeyed (Await Dictionary)

92 views
Skip to first unread message

Cornelius

unread,
Jul 23, 2026, 3:52:48 PM (5 days ago) Jul 23
to dev-pl...@mozilla.org
As of Firefox 155, I intend to turn Promise.allKeyed on by default. It has been developed behind the javascript.options.experimental.promise_allkeyed preference.

summary;
This adds a new Promise.allKeyed method that takes an iterable of promises and returns a single Promise that resolves when all of the given promises have resolved, preserving the key-value mapping.


Specification:

Standards Body:
TC39

Platform Coverage:
All

Preference:

javascript.options.experimental.promise_allkeyed

DevTools Bug:
N/A

Extensions Bug:
N/A

Use Counter:
N/A

Standards-Positions Discussion:
N/A

Other Browsers:
Blink: N/A
Safari: N/A

web-platform-tests:
Covered by Test262. The tests are already present in our tree (e.g., js/src/tests/test262/built-ins/Promise/{allKeyed/allSettledKeyed}). We will ensure we have the latest Test262 import before shipping.


Daniel Minor

unread,
Jul 24, 2026, 10:56:33 AM (4 days ago) Jul 24
to dev-pl...@mozilla.org
Cornelius felt strange about thanking himself, but I'd like to point out that he is a volunteer, and did great work implementing this proposal. Thanks Cornelius!

--
You received this message because you are subscribed to the Google Groups "dev-pl...@mozilla.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dev-platform...@mozilla.org.
To view this discussion visit https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/8a617de3-8b48-43e1-ace2-98ba2c5103fdn%40mozilla.org.
Reply all
Reply to author
Forward
0 new messages