зеркало из https://github.com/mozilla/pjs.git
Bug 381832 duplicated of state-changed:busy (false) event
when document is load finished r=aaronleventhal
This commit is contained in:
Родитель
013b42dac0
Коммит
a4c9e80536
|
@ -796,11 +796,6 @@ NS_IMETHODIMP nsDocAccessible::FireDocLoadEvents(PRUint32 aEventType)
|
|||
mDocLoadTimer->InitWithFuncCallback(DocLoadCallback, this, 0,
|
||||
nsITimer::TYPE_ONE_SHOT);
|
||||
}
|
||||
// Finished loading: fire EVENT_STATE_CHANGE to clear STATE_BUSY
|
||||
nsCOMPtr<nsIAccessibleStateChangeEvent> accEvent =
|
||||
new nsAccStateChangeEvent(this, nsIAccessibleStates::STATE_BUSY,
|
||||
PR_FALSE, PR_FALSE);
|
||||
FireAccessibleEvent(accEvent);
|
||||
} else {
|
||||
nsCOMPtr<nsIDocShellTreeItem> treeItem = GetDocShellTreeItemFor(mDOMNode);
|
||||
if (!treeItem) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче