mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 22:05:44 +00:00
Bug 1472431, nodes in Shadow DOM aren't orphan, if they are in composed document, r=mccr8
This commit is contained in:
parent
02175d436a
commit
b053857985
@ -2103,7 +2103,7 @@ class OrphanReporter : public JS::ObjectPrivateVisitor
|
||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=773533#c11 explains
|
||||
// that we have to skip XBL elements because they violate certain
|
||||
// assumptions. Yuk.
|
||||
if (node && !node->IsInUncomposedDoc() &&
|
||||
if (node && !node->IsInComposedDoc() &&
|
||||
!(node->IsElement() && node->AsElement()->IsInNamespace(kNameSpaceID_XBL)))
|
||||
{
|
||||
// This is an orphan node. If we haven't already handled the
|
||||
|
Loading…
Reference in New Issue
Block a user