RESOLVED FIXED 241414
[JSC] Add support for Atomics.waitAsync
https://bugs.webkit.org/show_bug.cgi?id=241414
Summary [JSC] Add support for Atomics.waitAsync
Florens Verschelde
Reported 2022-06-08 06:05:58 PDT
We at StackBlitz are using Atomics.waitAsync (https://github.com/tc39/proposal-atomics-wait-async, apparently stage 3 and shipped in Chromium) on stackblitz.com to power our Node.js-in-the-browser port (called WebContainers). Firefox doesn't implement Atomics.waitAsync either, but we were able to implement a polyfill using workers-in-workers, something that is not possible in Safari at this time. The lack of Atomics.waitAsync in WebKit is one of the things stopping us from offering WebContainers to users of Safari and other WebKit-based browsers at this time. (Others include bug 174931, bug 238442, and possibly more we haven't identified yet.)
Attachments
Florens Verschelde
Comment 1 2022-06-08 11:03:47 PDT
Radar WebKit Bug Importer
Comment 2 2022-06-08 12:10:35 PDT
Simon Chang
Comment 3 2022-09-01 15:53:51 PDT
Given that this bug is also relevant to the implementation of RegExp lookbehind, please also take time to look at https://bugs.webkit.org/show_bug.cgi?id=174931 which is also needed for a higher priority. It's also noted that Atomics.waitAsync has been shipped in both Chromium and Firefox now.
Yijia Huang
Comment 4 2022-09-26 10:05:37 PDT
*** Bug 245676 has been marked as a duplicate of this bug. ***
Yijia Huang
Comment 5 2022-10-18 11:57:38 PDT
Yijia Huang
Comment 6 2022-10-23 00:17:11 PDT
EWS
Comment 7 2022-11-28 00:13:45 PST
Committed 257061@main (7e3fb31d5987): <https://commits.webkit.org/257061@main> Reviewed commits have been landed. Closing PR #5333 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.