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:
surkov.alexander@gmail.com 2008-03-20 19:34:29 -07:00
parent 997dc416bc
commit 0d7407292b

View File

@ -2199,6 +2199,8 @@ nsAccessible::GetAttributesInternal(nsIPersistentProperties *aAttributes)
if (!sameTypeParent || sameTypeParent == docShellTreeItem)
break;
nsIDocument *parentDoc = doc->GetParentDocument();
if (!parentDoc)
break;
startContent = parentDoc->FindContentForSubDocument(doc);
}