Backout 221a7a558c63 for Mochitest-other oranges. r=backout in a CLOSED TREE

This commit is contained in:
Edmund Wong 2013-03-20 16:46:06 +08:00
parent e34cf2985d
commit 5f71c18e3d
2 changed files with 3 additions and 3 deletions

View File

@ -1515,7 +1515,7 @@ DocAccessible::ProcessLoad()
// Fire complete/load stopped if the load event type is given.
if (mLoadEventType) {
nsRefPtr<AccEvent> loadEvent = new AccEvent(mLoadEventType, this);
FireDelayedEvent(loadEvent);
nsEventShell::FireEvent(loadEvent);
mLoadEventType = 0;
}
@ -1523,7 +1523,7 @@ DocAccessible::ProcessLoad()
// Fire busy state change event.
nsRefPtr<AccEvent> stateEvent =
new AccStateChangeEvent(this, states::BUSY, false);
FireDelayedEvent(stateEvent);
nsEventShell::FireEvent(stateEvent);
}
void

View File

@ -20,7 +20,7 @@
if (navigator.platform.startsWith("Win")) {
SimpleTest.expectAssertions(13, 14);
} else if (navigator.platform.startsWith("Linux")) {
SimpleTest.expectAssertions(2);
SimpleTest.expectAssertions(18);
} else if (navigator.platform.startsWith("Mac")) {
SimpleTest.expectAssertions(0, 14);
}