Closed Bug 1795452 Opened 3 years ago Closed 3 years ago

Implement Array.fromAsync

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: mgaudet, Assigned: mgaudet)

References

Details

Attachments

(4 files)

No description provided.
Blocks: 1795816
Severity: -- → N/A
Priority: -- → P3
Pushed by mgaudet@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/aef9d287cced Expose CreateAsyncFromSyncIter to self-hosted code r=arai https://hg.mozilla.org/integration/autoland/rev/ffffdf0dad7b Add the three-argument GetIterator function. r=arai https://hg.mozilla.org/integration/autoland/rev/55ab67c54574 Initial implementation of Array.fromAsync r=arai https://hg.mozilla.org/integration/autoland/rev/021312205c09 Add shell option to enable/disable Array.fromAsync r=arai
Keywords: dev-doc-needed

For the purposes of MDN documentation:

  1. Am I correct that this is only enabled on Nightly (initially 108?), and that there is no preference value to enable it in release?
  2. Do we know of other implementations in progress?
  3. Is this "ready" to document? Specifically the explainer seems to indicate that this is TC2. Sometimes we document at TC3, but normally only if the engineering team (you!) tell us that the functionality is likely to be stable and want it - this is to avoid churn while API names and behaviour are still in flux.
Flags: needinfo?(mgaudet)
  1. Currently this is disabled by default, even in nightly. The pref is only available in nightly.
  2. I'm not aware of any other in progress implementations: v8's bug is here, with no activity; couldn't find one for JSC.
  3. The explainer is out of date, as the proposal hit Stage 3 in September.

Personally, I'd hold off on documenting this until we've given an attempt to ship it on Nightly to discover any name conflicts / webcompat issues.

Flags: needinfo?(mgaudet)

FF108 docs for this on hold as suggested ^^^- thanks Matthew!

Tracking issue on MDN is: https://github.com/mdn/content/issues/22145.

I'll remove "dev-doc-needed" for this bug. We'll keep an eye on the meta bug and the shipping bug; but feel free to ping us on the above issue if this is shipped on nightly, or otherwise is ready to document.

Keywords: dev-doc-needed

FYI only, most of the stage 3 array-from-async docs work for this was done in https://github.com/mdn/content/pull/25775, following the feature shipping in Safari.

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

Attachment

General

Created:
Updated:
Size: