summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJob Bautista <jobbautista9@aol.com>2023-04-07 20:16:46 +0800
committerJob Bautista <jobbautista9@aol.com>2023-04-07 20:16:46 +0800
commit8f602a52eeaff00de4a52ec700bbcc350c45a4c6 (patch)
tree1c05b729c7e66a23dddf9ce0b80fe18b21c4ebd4
parent8e2788496d325b4b50b86d98125376b5dbdf7554 (diff)
downloaduxp-8f602a52eeaff00de4a52ec700bbcc350c45a4c6.tar.gz
Issue #1361 - Follow-up: Merge dom.getRootNode.enabled pref into dom.webcomponents.enabled.
-rw-r--r--dom/webidl/Node.webidl2
-rw-r--r--modules/libpref/init/all.js3
2 files changed, 1 insertions, 4 deletions
diff --git a/dom/webidl/Node.webidl b/dom/webidl/Node.webidl
index bf2c1c4dee..a4770fb374 100644
--- a/dom/webidl/Node.webidl
+++ b/dom/webidl/Node.webidl
@@ -38,7 +38,7 @@ interface Node : EventTarget {
readonly attribute boolean isConnected;
[Pure]
readonly attribute Document? ownerDocument;
- [Pure, Pref="dom.getRootNode.enabled"]
+ [Pure, Pref="dom.webcomponents.enabled"]
Node getRootNode(optional GetRootNodeOptions options);
[Pure]
readonly attribute Node? parentNode;
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 8c4c0b662d..cd5821d4a1 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1210,11 +1210,8 @@ pref("privacy.GPCheader.enabled", false);
pref("dom.event.contextmenu.enabled", true);
pref("dom.event.clipboardevents.enabled", true);
-// TODO: merge these two prefs!
// Enable Google WebComponents?
pref("dom.webcomponents.enabled", true);
-// Whether WC getRootNode is available
-pref("dom.getRootNode.enabled", true);
pref("javascript.enabled", true);
// Enable Array.prototype.values