mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Bug 424097 - Crash when running runtests.py --a11y, and having JAWS running at the same time, patch=marcoz, r=me, ab5=beltzner
This commit is contained in:
parent
997dc416bc
commit
0d7407292b
@ -2199,6 +2199,8 @@ nsAccessible::GetAttributesInternal(nsIPersistentProperties *aAttributes)
|
||||
if (!sameTypeParent || sameTypeParent == docShellTreeItem)
|
||||
break;
|
||||
nsIDocument *parentDoc = doc->GetParentDocument();
|
||||
if (!parentDoc)
|
||||
break;
|
||||
startContent = parentDoc->FindContentForSubDocument(doc);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user