Bug 807596 - crash [@ Accessible::GetActionRule()], r=hub

This commit is contained in:
Alexander Surkov 2012-11-02 01:05:33 +09:00
parent 35845d607b
commit 0f464a7ceb

View File

@ -3084,7 +3084,7 @@ Accessible::GetAttrValue(nsIAtom *aProperty, double *aValue)
uint32_t
Accessible::GetActionRule()
{
if (InteractiveState() & states::UNAVAILABLE)
if (!HasOwnContent() || (InteractiveState() & states::UNAVAILABLE))
return eNoAction;
// Check if it's simple xlink.