Browse Source

Pref and disable getRootNode()

This is apparently used for fallback selection and if available it is "assumed"
Shadow DOM is also available, while this is a utility function.

Webcompat is a nightmare sometimes.
pull/24/head
Moonchild 2 years ago committed by Roy Tam
parent
commit
26990a1d74
  1. 2
      dom/webidl/Node.webidl
  2. 2
      modules/libpref/init/all.js

2
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;

2
modules/libpref/init/all.js

@ -4744,6 +4744,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", "");

Loading…
Cancel
Save