Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Enable Atomics object unconditionally.
https://bugs.webkit.org/show_bug.cgi?id=243342 <rdar://97786341> Reviewed by Geoffrey Garen and Yusuke Suzuki. The Atomics object is only being created and made available to the runtime when SharedArrayBuffer is enabled. In practice this means Atomics is only available when crossOriginIsolation is true. Other major browsers expose the Atomics object regardless of the state of crossOriginIsolation. Using Atomics without shared memory isn't particularly useful but the goal of this is to improve our interopability with other browsers. * Source/JavaScriptCore/runtime/JSGlobalObject.cpp: (JSC::createAtomicsProperty): (JSC::JSGlobalObject::init): Canonical link: https://commits.webkit.org/253137@main
- Loading branch information
Showing
1 changed file
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters