Bug 396153 No need to emit attributes_changed event for anchor jump r=aaronleventhal a=dsicore

This commit is contained in:
ginn.chen@sun.com 2007-09-18 23:41:45 -07:00
parent 420b61d605
commit e476a61105
2 changed files with 0 additions and 10 deletions

View File

@ -1346,11 +1346,6 @@ nsAccessibleWrap::FireAccessibleEvent(nsIAccessibleEvent *aEvent)
MAI_LOG_DEBUG(("\n\nReceived: EVENT_DOCUMENT_LOAD_STOPPED\n"));
g_signal_emit_by_name (atkObj, "load_stopped");
} break;
case nsIAccessibleEvent::EVENT_DOCUMENT_ATTRIBUTES_CHANGED:
{
MAI_LOG_DEBUG(("\n\nReceived: EVENT_DOCUMENT_ATTRIBUTES_CHANGED\n"));
g_signal_emit_by_name (atkObj, "attributes_changed");
} break;
case nsIAccessibleEvent::EVENT_MENUPOPUP_START:
MAI_LOG_DEBUG(("\n\nReceived: EVENT_MENUPOPUP_START\n"));

View File

@ -753,11 +753,6 @@ NS_IMETHODIMP nsDocAccessible::FireAnchorJumpEvent()
lastAnchor.Assign(currentAnchor);
}
if (mIsAnchorJumped) {
nsAccUtils::
FireAccEvent(nsIAccessibleEvent::EVENT_DOCUMENT_ATTRIBUTES_CHANGED, this);
}
return NS_OK;
}