summaryrefslogtreecommitdiffstats
path: root/modules/libpref/init
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-06-10 01:19:37 +0000
committerMoonchild <moonchild@palemoon.org>2020-06-10 01:19:37 +0000
commit8797b20746cd80c51cc56225f70ddea6c6b94f9d (patch)
tree5517d461c0c43f2927708c2c251fbba8e37dd757 /modules/libpref/init
parent47db6b4b5e8ca41c93964e964238fe85bdd7e23b (diff)
downloadUXP-8797b20746cd80c51cc56225f70ddea6c6b94f9d.tar
UXP-8797b20746cd80c51cc56225f70ddea6c6b94f9d.tar.gz
UXP-8797b20746cd80c51cc56225f70ddea6c6b94f9d.tar.lz
UXP-8797b20746cd80c51cc56225f70ddea6c6b94f9d.tar.xz
UXP-8797b20746cd80c51cc56225f70ddea6c6b94f9d.zip
Issue #1585 - Replace node.rootNode with node.getRootNode()
This removes the (default disabled) node.rootNode readonly attribute and replaces it with a node.getRootNode() function per WhatWG spec discussion. Based on work by John Dai <jdai@mozilla.com>
Diffstat (limited to 'modules/libpref/init')
-rw-r--r--modules/libpref/init/all.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 9e2513011..b5b112020 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -5377,13 +5377,6 @@ pref("layout.css.color-adjust.enabled", true);
pref("dom.audiochannel.audioCompeting", false);
pref("dom.audiochannel.audioCompeting.allAgents", false);
-// Disable Node.rootNode in release builds.
-#ifdef RELEASE_OR_BETA
-pref("dom.node.rootNode.enabled", false);
-#else
-pref("dom.node.rootNode.enabled", true);
-#endif
-
// Default media volume
pref("media.default_volume", "1.0");