From 5f71c18e3d77fb88a4d199a2687ac7dc90a7e8b5 Mon Sep 17 00:00:00 2001 From: Edmund Wong Date: Wed, 20 Mar 2013 16:46:06 +0800 Subject: [PATCH] Backout 221a7a558c63 for Mochitest-other oranges. r=backout in a CLOSED TREE --- accessible/src/generic/DocAccessible.cpp | 4 ++-- accessible/tests/mochitest/actions/test_link.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/accessible/src/generic/DocAccessible.cpp b/accessible/src/generic/DocAccessible.cpp index 5f126946bb6..27269343047 100644 --- a/accessible/src/generic/DocAccessible.cpp +++ b/accessible/src/generic/DocAccessible.cpp @@ -1515,7 +1515,7 @@ DocAccessible::ProcessLoad() // Fire complete/load stopped if the load event type is given. if (mLoadEventType) { nsRefPtr loadEvent = new AccEvent(mLoadEventType, this); - FireDelayedEvent(loadEvent); + nsEventShell::FireEvent(loadEvent); mLoadEventType = 0; } @@ -1523,7 +1523,7 @@ DocAccessible::ProcessLoad() // Fire busy state change event. nsRefPtr stateEvent = new AccStateChangeEvent(this, states::BUSY, false); - FireDelayedEvent(stateEvent); + nsEventShell::FireEvent(stateEvent); } void diff --git a/accessible/tests/mochitest/actions/test_link.html b/accessible/tests/mochitest/actions/test_link.html index 06fc2aeadb8..c2e9c85b0cf 100644 --- a/accessible/tests/mochitest/actions/test_link.html +++ b/accessible/tests/mochitest/actions/test_link.html @@ -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); }