Closed Bug 1979917 Opened 7 months ago Closed 6 months ago

Ship upsert proposal

Categories

(Core :: JavaScript: Standard Library, task, P3)

task

Tracking

()

RESOLVED FIXED
144 Branch
Tracking Status
relnote-firefox --- 144+
firefox144 --- fixed

People

(Reporter: dminor, Assigned: dminor)

References

Details

(Keywords: dev-doc-complete)

Attachments

(4 files)

Now that Upsert is at Stage 3, we can look at shipping it.

Severity: -- → N/A
Priority: -- → P3
Keywords: dev-doc-needed
Depends on: 1973243
Blocks: 1986668
Pushed by nbeleuzu@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/bc745f09a830 https://hg.mozilla.org/integration/autoland/rev/ed67d7ac2721 Revert "Bug 1979917 - Update test_xrayToJS.xhtml expectations; r=nika" for failures on not-a-constructor.js

These tests are now all present in test262 and can be safely removed.

Flags: needinfo?(dminor)

:dminor, could you consider nominating this for a release note? (Process info)

Flags: needinfo?(dminor)

Release Note Request (optional, but appreciated)
[Why is this notable]: This adds new getOrInsert and getOrInsertComputed methods to Map and WeakMap.
[Affects Firefox for Android]: Yes.
[Suggested wording]: Support for the upsert proposal shipped in Firefox 144. This adds getOrInsert and getOrInsertComputed methods to Map and WeakMap. These methods either return the value associated with a key, or insert a default value, and then return that value, simplifying handling of cases where it's not known if a key is already present in the Map or WeakMap or not.
[Links (documentation, blog post, etc)]: https://github.com/tc39/proposal-upsert

relnote-firefox: --- → ?
Flags: needinfo?(dminor)

Thanks, added to the Fx144 nightly release notes, please allow 30 minutes for the site to update.
Keeping the relnote-firefox flag as ? to keep it on the radar for inclusion in the final Fx144 release notes.

QA Whiteboard: [qa-triage-done-c145/b144]

FF144 MDN work for this can be tracked in https://github.com/mdn/content/issues/41134

Added to the Fx144 release notes

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: