зеркало из https://github.com/mozilla/pjs.git
Bug 396153 No need to emit attributes_changed event for anchor jump
r=aaronleventhal a=dsicore
This commit is contained in:
Родитель
29d0bd38be
Коммит
e7fa7afab1
|
@ -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"));
|
||||
|
|
|
@ -753,11 +753,6 @@ NS_IMETHODIMP nsDocAccessible::FireAnchorJumpEvent()
|
|||
lastAnchor.Assign(currentAnchor);
|
||||
}
|
||||
|
||||
if (mIsAnchorJumped) {
|
||||
nsAccUtils::
|
||||
FireAccEvent(nsIAccessibleEvent::EVENT_DOCUMENT_ATTRIBUTES_CHANGED, this);
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче