diff options
author | Moonchild <moonchild@palemoon.org> | 2020-06-07 18:09:13 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-06-07 18:09:13 +0000 |
commit | fbab1f4f9eab329cc3c807ac4606afe194cea51b (patch) | |
tree | 8f887c2d12e6c30e484b6814c1d1d0be8c9ba07c /dom/base/CustomElementRegistry.cpp | |
parent | 90c42b7afda8ddab70e9fb67b006248afce8e083 (diff) | |
download | UXP-fbab1f4f9eab329cc3c807ac4606afe194cea51b.tar UXP-fbab1f4f9eab329cc3c807ac4606afe194cea51b.tar.gz UXP-fbab1f4f9eab329cc3c807ac4606afe194cea51b.tar.lz UXP-fbab1f4f9eab329cc3c807ac4606afe194cea51b.tar.xz UXP-fbab1f4f9eab329cc3c807ac4606afe194cea51b.zip |
[DOM] Hard-disable webcomponents and customelements prefs (redwood)
Diffstat (limited to 'dom/base/CustomElementRegistry.cpp')
-rw-r--r-- | dom/base/CustomElementRegistry.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dom/base/CustomElementRegistry.cpp b/dom/base/CustomElementRegistry.cpp index f582d635f..3f8322199 100644 --- a/dom/base/CustomElementRegistry.cpp +++ b/dom/base/CustomElementRegistry.cpp @@ -166,8 +166,11 @@ NS_INTERFACE_MAP_END /* static */ bool CustomElementRegistry::IsCustomElementEnabled(JSContext* aCx, JSObject* aObject) { + return false; +/* return Preferences::GetBool("dom.webcomponents.customelements.enabled") || Preferences::GetBool("dom.webcomponents.enabled"); +*/ } /* static */ already_AddRefed<CustomElementRegistry> |