summaryrefslogtreecommitdiffstats
path: root/dom/webidl
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-08-07 21:15:52 +0000
committerMoonchild <moonchild@palemoon.org>2020-08-07 21:15:52 +0000
commitb5762c6c27c3d2de499c5f8ea6e10bed445b7455 (patch)
tree82f59b96f9a3e4b13b9cbc61712e1cf11ede823d /dom/webidl
parentd357eec5671c8636f8f2ee1beeecd57aa3b16030 (diff)
downloadUXP-b5762c6c27c3d2de499c5f8ea6e10bed445b7455.tar
UXP-b5762c6c27c3d2de499c5f8ea6e10bed445b7455.tar.gz
UXP-b5762c6c27c3d2de499c5f8ea6e10bed445b7455.tar.lz
UXP-b5762c6c27c3d2de499c5f8ea6e10bed445b7455.tar.xz
UXP-b5762c6c27c3d2de499c5f8ea6e10bed445b7455.zip
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.
Diffstat (limited to 'dom/webidl')
-rw-r--r--dom/webidl/Node.webidl2
1 files changed, 1 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;