зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 667e16c6814c (bug 1587394) for pref lint failure CLOSED TREE
This commit is contained in:
Родитель
1b8dfbb609
Коммит
74f9b0c67c
|
@ -2400,11 +2400,6 @@ void nsGlobalWindowInner::UpdateTopInnerWindow() {
|
|||
bool nsGlobalWindowInner::CanShareMemory(const nsID& aAgentClusterId) {
|
||||
MOZ_ASSERT(NS_IsMainThread());
|
||||
|
||||
if (StaticPrefs::
|
||||
dom_postMessage_sharedArrayBuffer_bypassCOOP_COEP_insecure_enabled()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!StaticPrefs::dom_postMessage_sharedArrayBuffer_withCOOP_COEP()) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -4970,11 +4970,6 @@ const nsAString& WorkerPrivate::Id() {
|
|||
bool WorkerPrivate::CanShareMemory(const nsID& aAgentClusterId) {
|
||||
AssertIsOnWorkerThread();
|
||||
|
||||
if (StaticPrefs::
|
||||
dom_postMessage_sharedArrayBuffer_bypassCOOP_COEP_insecure_enabled()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!StaticPrefs::dom_postMessage_sharedArrayBuffer_withCOOP_COEP()) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -1903,12 +1903,6 @@
|
|||
value: false
|
||||
mirror: always
|
||||
|
||||
# Overridden in all.js on RELEASE_OR_BETA in order to add the locked attribute.
|
||||
- name: dom.postMessage.sharedArrayBuffer.bypassCOOP_COEP.insecure.enabled
|
||||
type: RelaxedAtomicBool
|
||||
value: false
|
||||
mirror: always
|
||||
|
||||
# Presentation API
|
||||
- name: dom.presentation.enabled
|
||||
type: bool
|
||||
|
|
|
@ -4938,11 +4938,3 @@ pref("devtools.devices.url", "https://code.cdn.mozilla.net/devices/devices.json"
|
|||
|
||||
// Enable Inactive CSS detection; used both by the client and the server.
|
||||
pref("devtools.inspector.inactive.css.enabled", true);
|
||||
|
||||
#if defined(NIGHTLY_BUILD) || defined(MOZ_DEV_EDITION)
|
||||
// Define in StaticPrefList.yaml and override here since StaticPrefList.yaml
|
||||
// doesn't provide a way to lock the pref
|
||||
pref("dom.postMessage.sharedArrayBuffer.bypassCOOP_COEP.insecure.enabled", false);
|
||||
#else
|
||||
pref("dom.postMessage.sharedArrayBuffer.bypassCOOP_COEP.insecure.enabled", false, locked);
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче