diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2020-01-20 19:11:20 -0500 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2020-01-26 15:50:47 -0500 |
commit | 37d09da24e6c97e3f05ad344893f9b9513ba58ff (patch) | |
tree | c94fd67974b98bab09e6abfef0dfb7f1874691ed /dom/base/CustomElementRegistry.cpp | |
parent | 7e9efb0f27d2ce3475deac31a8f8dd45213d09a9 (diff) | |
download | UXP-37d09da24e6c97e3f05ad344893f9b9513ba58ff.tar UXP-37d09da24e6c97e3f05ad344893f9b9513ba58ff.tar.gz UXP-37d09da24e6c97e3f05ad344893f9b9513ba58ff.tar.lz UXP-37d09da24e6c97e3f05ad344893f9b9513ba58ff.tar.xz UXP-37d09da24e6c97e3f05ad344893f9b9513ba58ff.zip |
Bug 1400762 - Make dom.webcomponents.enabled pref doesn't control CustomElements feature
Tag UXP Issue #1344
Diffstat (limited to 'dom/base/CustomElementRegistry.cpp')
-rw-r--r-- | dom/base/CustomElementRegistry.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dom/base/CustomElementRegistry.cpp b/dom/base/CustomElementRegistry.cpp index 830f06fed..3d5432b07 100644 --- a/dom/base/CustomElementRegistry.cpp +++ b/dom/base/CustomElementRegistry.cpp @@ -258,8 +258,7 @@ NS_INTERFACE_MAP_END /* static */ bool CustomElementRegistry::IsCustomElementEnabled(JSContext* aCx, JSObject* aObject) { - return nsContentUtils::IsCustomElementsEnabled() || - nsContentUtils::IsWebComponentsEnabled(); + return nsContentUtils::IsCustomElementsEnabled(); } CustomElementRegistry::CustomElementRegistry(nsPIDOMWindowInner* aWindow) |