Bug 1697904 - Stop using RelaxedAtomicBool type for js prefs. r=jandem

We seem to have cargo-culted this in from nearby gfx code, but since we read
prefs only during the spidermonkey prefs callback this is a bit silly. Note
that the Streams cases *do* make use of off-thread uses of the mirror
variable from within Gecko.

Differential Revision: https://phabricator.services.mozilla.com/D108127
This commit is contained in:
Ted Campbell 2021-03-15 22:20:44 +00:00
parent 1fa49c916e
commit d7756b58fc

View File

@ -5406,44 +5406,44 @@
# Use better error message when accessing property of null or undefined.
- name: javascript.options.property_error_message_fix
type: RelaxedAtomicBool
type: bool
value: @IS_NIGHTLY_OR_DEV_EDITION@
mirror: always
# Support for weak references in JavaScript (WeakRef and FinalizationRegistry).
- name: javascript.options.weakrefs
type: RelaxedAtomicBool
type: bool
value: true
mirror: always
# Whether to expose the FinalizationRegistry.prototype.cleanupSome method.
- name: javascript.options.experimental.weakrefs.expose_cleanupSome
type: RelaxedAtomicBool
type: bool
value: false
mirror: always
#ifdef NIGHTLY_BUILD
# Experimental support for Iterator Helpers in JavaScript.
- name: javascript.options.experimental.iterator_helpers
type: RelaxedAtomicBool
type: bool
value: false
mirror: always
# Experimental support for Private Fields in JavaScript.
- name: javascript.options.experimental.private_fields
type: RelaxedAtomicBool
type: bool
value: false
mirror: always
# Experimental support for Private Methods in JavaScript.
- name: javascript.options.experimental.private_methods
type: RelaxedAtomicBool
type: bool
value: false
mirror: always
# Experimental support for Top-level Await in JavaScript.
- name: javascript.options.experimental.top_level_await
type: RelaxedAtomicBool
type: bool
value: false
mirror: always
#endif // NIGHTLY_BUILD