mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1346518 - extend Accessible::RemoveChild debugging assertions, part2, r=yzen
This commit is contained in:
parent
2773e5508d
commit
7d7b3c1dbe
@ -595,6 +595,7 @@ nsAccessibilityService::ContentRemoved(nsIPresShell* aPresShell,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (child) {
|
if (child) {
|
||||||
|
MOZ_DIAGNOSTIC_ASSERT(child->Parent(), "Unattached accessible from tree");
|
||||||
document->ContentRemoved(child->Parent(), aChildNode);
|
document->ContentRemoved(child->Parent(), aChildNode);
|
||||||
#ifdef A11Y_LOG
|
#ifdef A11Y_LOG
|
||||||
if (logging::IsEnabled(logging::eTree))
|
if (logging::IsEnabled(logging::eTree))
|
||||||
|
Loading…
Reference in New Issue
Block a user