summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dom/webidl/Node.webidl2
-rw-r--r--modules/libpref/init/all.js2
2 files changed, 3 insertions, 1 deletions
diff --git a/dom/webidl/Node.webidl b/dom/webidl/Node.webidl
index c9fb7e77e..bf2c1c4de 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]
+ [Pure, Pref="dom.getRootNode.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 97070c23a..58e02c1af 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -4736,6 +4736,8 @@ pref("dom.push.enabled", false);
pref("dom.push.loglevel", "error");
+pref("dom.getRootNode.enabled", false);
+
pref("dom.push.serverURL", "wss://push.services.mozilla.com/");
pref("dom.push.userAgentID", "");