Request for position: top-level await in JS
Hi all, This is a request for the WebKit position on the top-level await JS proposal, which has been at Stage 3 in TC39 since June, 2019. Chrome is planning to ship it soon, likely in 88. (Interestingly, Node has flipped on the feature flag in V8 for top-level await by default, so it is already shipping for the Node ecosystem: https://github.com/nodejs/node/pull/34558) - Proposal: https://github.com/tc39/proposal-top-level-await - Specification: https://tc39.es/proposal-top-level-await/ - HTML integration PR: https://github.com/whatwg/html/pull/4352 - ChromeStatus: https://chromestatus.com/feature/5767881411264512 Cheers, Shu-yu Guo, V8
We like top-level await. - Saam
On Sep 24, 2020, at 1:36 PM, Shu-yu Guo <syg@chromium.org> wrote:
Hi all,
This is a request for the WebKit position on the top-level await JS proposal, which has been at Stage 3 in TC39 since June, 2019. Chrome is planning to ship it soon, likely in 88.
(Interestingly, Node has flipped on the feature flag in V8 for top-level await by default, so it is already shipping for the Node ecosystem: https://github.com/nodejs/node/pull/34558 <https://github.com/nodejs/node/pull/34558>)
- Proposal: https://github.com/tc39/proposal-top-level-await <https://github.com/tc39/proposal-top-level-await> - Specification: https://tc39.es/proposal-top-level-await/ <https://tc39.es/proposal-top-level-await/> - HTML integration PR: https://github.com/whatwg/html/pull/4352 <https://github.com/whatwg/html/pull/4352> - ChromeStatus: https://chromestatus.com/feature/5767881411264512 <https://chromestatus.com/feature/5767881411264512>
Cheers, Shu-yu Guo, V8
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Adding to the links that Shu provided, Test262 has extensive coverage for top-level await: https://github.com/tc39/test262/tree/main/test/language/module-code/top-leve... Rick On Thu, Sep 24, 2020 at 6:12 PM Saam Barati <sbarati@apple.com> wrote:
We like top-level await.
- Saam
On Sep 24, 2020, at 1:36 PM, Shu-yu Guo <syg@chromium.org> wrote:
Hi all,
This is a request for the WebKit position on the top-level await JS proposal, which has been at Stage 3 in TC39 since June, 2019. Chrome is planning to ship it soon, likely in 88.
(Interestingly, Node has flipped on the feature flag in V8 for top-level await by default, so it is already shipping for the Node ecosystem: https://github.com/nodejs/node/pull/34558)
- Proposal: https://github.com/tc39/proposal-top-level-await - Specification: https://tc39.es/proposal-top-level-await/ - HTML integration PR: https://github.com/whatwg/html/pull/4352 - ChromeStatus: https://chromestatus.com/feature/5767881411264512
Cheers, Shu-yu Guo, V8
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
participants (3)
-
Rick Waldron
-
Saam Barati
-
Shu-yu Guo