Skip to content
This repository has been archived by the owner on Aug 29, 2021. It is now read-only.

Advance to stage 4 #113

Closed
mathiasbynens opened this issue Jun 7, 2019 · 17 comments
Closed

Advance to stage 4 #113

mathiasbynens opened this issue Jun 7, 2019 · 17 comments

Comments

@mathiasbynens
Copy link
Member

mathiasbynens commented Jun 7, 2019

Criteria taken from the TC39 process document minus those from previous stages:

  • Test262 acceptance tests have been written for mainline usage scenarios, and merged.

https://github.com/tc39/test262/tree/master/src/top-level-await

  • Two compatible implementations which pass the acceptance tests

https://github.com/tc39/proposal-top-level-await#implementations

Bug tickets to track:

  • Significant in-the-field experience with shipping implementations, such as that provided by two independent VMs

TODO

TODO

  • The ECMAScript editor has signed off on the pull request

tc39/ecma262#2408

@jhpratt
Copy link

jhpratt commented Jul 5, 2019

Firefox/SpiderMonkey tracking issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1519100

@TheInvoker
Copy link

when will this feature come out in chrome?

@MylesBorins
Copy link
Member

@TheInvoker the issue is mentioned above on the chromium tracker. That issue will be updated as progress is made. I would not expect it in the near future.

@devsnek
Copy link
Member

devsnek commented Aug 14, 2019

I was able to implement this in engine262 (engine262/engine262@c88172c) using a combination of the current spec text, #122, #123, and tc39/proposal-dynamic-import#71

@chicoxyzzy
Copy link
Member

Implemented in V8 under flag #129

@TheInvoker
Copy link

Any idea on release date now?

@MylesBorins
Copy link
Member

Added the webkit bug and test262 tests. AFAIK the tests are done @leobalter can confirm

@rhuanjl
Copy link

rhuanjl commented Dec 4, 2019

Chakracore issue: chakra-core/ChakraCore#6262

I have a WIP implementation for CC - just need a bit more testing and a re-factor it depends on to be merged. Will hopefully land it in CC's master in a week or two; I don't know when they'll do a release to include it though. (I'm an external contributor)

@leobalter
Copy link
Member

this is a simple but almost formal confirmation of Test262 tests for TLA.

@NemoStein
Copy link

AFAICT Chrome released this feature (enabled by defaut) in Chrome 89 (V8 Ticket 9344 #50, ChromeStatus)
Node.js unflagged TLA since v14.8.0

Does this count as 2 implementations and/or independent VMs?

@rhuanjl
Copy link

rhuanjl commented Jan 26, 2021

As an FYI I've implemented this in ChakraCore master: chakra-core/ChakraCore#6457
(ChakraCore is no longer used by Edge and is now a Community project - we're hoping to release a version with significant enhancements since the last Microsoft release - adding top level await is one such - but we have a lot to do before we're ready for a release and don't have a date set yet)

@MylesBorins
Copy link
Member

@NemoStein I don't think that it will as Node.js embeds V8

@mahnunchik
Copy link

I'm looking forward for stage 4 😄

@NemoStein
Copy link

It seems that all listed VMs/browsers already delivers TLA unflagged

V8 Chromium (Chrome/Edge/Opera): 89 - latest
SpiderMonkey Firefox: 89 beta
JavaScriptCore Safari: TP

The last big issue, according to the meeting notes of March, was closed/merged in #159 and already adopted by vendors.

With that said, can we expect a stage 4 presentation in the next meeting (late May)?
That would be an out-of-season Christmas gift!!

@codehag
Copy link
Collaborator

codehag commented May 12, 2021

I will be proposing it for stage 4 in May.

@codehag
Copy link
Collaborator

codehag commented May 14, 2021

Spec text integration pr has been posted: tc39/ecma262#2408

@codehag
Copy link
Collaborator

codehag commented May 25, 2021

Committee waved this through -- we are just waiting on official sign off from the editors.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests