Bug 886215 - trun 'Children of not selected deck panel are not accessible' into moz_assert

This commit is contained in:
Alexander Surkov 2018-06-18 14:02:27 -04:00
parent b460130119
commit 3364a60bed

View File

@ -357,7 +357,7 @@ Accessible::VisibilityState() const
if (deckFrame->GetContent()->IsXULElement(nsGkAtoms::tabpanels))
return states::OFFSCREEN;
NS_NOTREACHED("Children of not selected deck panel are not accessible.");
MOZ_ASSERT_UNREACHABLE("Children of not selected deck panel are not accessible.");
return states::INVISIBLE;
}