mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove dom.webcomponents.customelements.enabled pref.
This patch removes the following functions: * nsContentUtils::IsCustomElementsEnabled() * CustomElementRegistry::IsCustomElementEnabled(JSContext* aCx, JSObject* aObject) * CustomElementRegistry::IsCustomElementEnabled(nsIDocument* aDoc) and all references of the pref. Depends on D11183 Differential Revision: https://phabricator.services.mozilla.com/D11249
This commit is contained in:
parent
3977854ee2
commit
9f28242def
2 changed files with 1 additions and 4 deletions
|
@ -178,9 +178,6 @@ impl NonTSPseudoClass {
|
|||
NonTSPseudoClass::Fullscreen => unsafe {
|
||||
mozilla::StaticPrefs_sVarCache_full_screen_api_unprefix_enabled
|
||||
},
|
||||
NonTSPseudoClass::Defined => unsafe {
|
||||
structs::nsContentUtils_sIsCustomElementsEnabled
|
||||
},
|
||||
// Otherwise, a pseudo-class is enabled in content when it
|
||||
// doesn't have any enabled flag.
|
||||
_ => !self
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue