Bug 1851539 - Remove dom.weblocks.enabled pref r=smaug

Differential Revision: https://phabricator.services.mozilla.com/D188417
This commit is contained in:
Gregory Pappas 2023-09-18 13:53:54 +00:00
parent 06e3f83e31
commit 5ad282e03c
6 changed files with 2 additions and 12 deletions

View File

@ -1,7 +1,5 @@
[DEFAULT]
scheme = https
prefs =
dom.weblocks.enabled=true
[test_strongworker.html]
support-files =

View File

@ -7,7 +7,7 @@
* https://w3c.github.io/web-locks/
*/
[SecureContext, Exposed=(Window,Worker), Pref="dom.weblocks.enabled"]
[SecureContext, Exposed=(Window,Worker)]
interface Lock {
readonly attribute DOMString name;
readonly attribute LockMode mode;

View File

@ -7,7 +7,7 @@
* https://w3c.github.io/web-locks/
*/
[SecureContext, Exposed=(Window,Worker), Pref="dom.weblocks.enabled"]
[SecureContext, Exposed=(Window,Worker)]
interface LockManager {
[NewObject]
Promise<any> request(DOMString name,

View File

@ -341,7 +341,6 @@ partial interface Navigator {
// https://w3c.github.io/web-locks/#navigator-mixins
[SecureContext]
interface mixin NavigatorLocks {
[Pref="dom.weblocks.enabled"]
readonly attribute LockManager locks;
};
Navigator includes NavigatorLocks;

View File

@ -4596,12 +4596,6 @@
value: @IS_NOT_ANDROID@
mirror: always
# Whether the Web Locks API is enabled
- name: dom.weblocks.enabled
type: RelaxedAtomicBool
value: true
mirror: always
# Whether the WebMIDI API is enabled
- name: dom.webmidi.enabled
type: bool

View File

@ -1 +0,0 @@
prefs: [dom.weblocks.enabled:true]