mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 983282 followup - root the IsRegisterElementEnabled parameter
Landing on a CLOSED TREE.
This commit is contained in:
parent
df7910132c
commit
5efa0fa5aa
@ -5476,8 +5476,9 @@ nsDocument::CustomElementConstructor(JSContext* aCx, unsigned aArgc, JS::Value*
|
||||
bool
|
||||
nsDocument::IsRegisterElementEnabled(JSContext* aCx, JSObject* aObject)
|
||||
{
|
||||
JS::Rooted<JSObject*> obj(aCx, aObject);
|
||||
return Preferences::GetBool("dom.webcomponents.enabled") ||
|
||||
IsInCertifiedApp(aCx, aObject);
|
||||
IsInCertifiedApp(aCx, obj);
|
||||
}
|
||||
|
||||
nsresult
|
||||
|
Loading…
Reference in New Issue
Block a user