summaryrefslogtreecommitdiffstats
path: root/dom
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-08-07 21:15:52 +0000
committerMoonchild <moonchild@palemoon.org>2020-08-07 21:30:12 +0000
commit48d31ea5ebe2a4901fcb542e1e48b6fd6b67d64c (patch)
treef4f8e025b815a7c65cabe47f00d27ffbc8dd02c5 /dom
parent3cf08436797f0317064c950bdeedb0fef83e8832 (diff)
downloadUXP-48d31ea5ebe2a4901fcb542e1e48b6fd6b67d64c.tar
UXP-48d31ea5ebe2a4901fcb542e1e48b6fd6b67d64c.tar.gz
UXP-48d31ea5ebe2a4901fcb542e1e48b6fd6b67d64c.tar.lz
UXP-48d31ea5ebe2a4901fcb542e1e48b6fd6b67d64c.tar.xz
UXP-48d31ea5ebe2a4901fcb542e1e48b6fd6b67d64c.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')
-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 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;