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 0a14e3624..128efcb50 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 c8af46e1d..8cfa63032 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -4739,6 +4739,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", "");