mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 08:18:41 +09:00
Bug 1400762 - Make dom.webcomponents.enabled pref doesn't control CustomElements feature
Tag UXP Issue #1344
This commit is contained in:
parent
b70a9b1d12
commit
33693080a5
3 changed files with 3 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue