Backout 221a7a558c63 for Mochitest-other oranges. r=backout in a CLOSED TREE
authorEdmund Wong <ewong@pw-wspx.org>
Wed, 20 Mar 2013 16:46:06 +0800
changeset 125600 14a186f5227fecc7cb199caa175e0914dc4f13e4
parent 125599 aa7c8adf6764357dcd9d169f79284d961d172d4a
child 125601 279b55d18083d83fe609fd628b701bc9e89cff4a
push id24461
push useremorley@mozilla.com
push dateThu, 21 Mar 2013 11:51:51 +0000
treeherdermozilla-central@a73a2b5c423b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
milestone22.0a1
backs out221a7a558c630d848b9b516d70d16e594ad4d741
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backout 221a7a558c63 for Mochitest-other oranges. r=backout in a CLOSED TREE
accessible/src/generic/DocAccessible.cpp
accessible/tests/mochitest/actions/test_link.html
--- a/accessible/src/generic/DocAccessible.cpp
+++ b/accessible/src/generic/DocAccessible.cpp
@@ -1510,25 +1510,25 @@ DocAccessible::ProcessLoad()
   // b) document load event on sub documents causes screen readers to act is if
   // entire page is reloaded.
   if (!IsLoadEventTarget())
     return;
 
   // 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;
   }
 
   // Fire busy state change event.
   nsRefPtr<AccEvent> stateEvent =
     new AccStateChangeEvent(this, states::BUSY, false);
-  FireDelayedEvent(stateEvent);
+  nsEventShell::FireEvent(stateEvent);
 }
 
 void
 DocAccessible::AddDependentIDsFor(dom::Element* aRelProviderElm,
                                   nsIAtom* aRelAttr)
 {
   for (uint32_t idx = 0; idx < kRelationAttrsLen; idx++) {
     nsIAtom* relAttr = *kRelationAttrs[idx];
--- a/accessible/tests/mochitest/actions/test_link.html
+++ b/accessible/tests/mochitest/actions/test_link.html
@@ -15,17 +15,17 @@
           src="../events.js"></script>
   <script type="application/javascript"
           src="../actions.js"></script>
 
   <script type="application/javascript">
     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);
     }
 
     function getAnchorTargetDocumentAcc()
     {
       var thisTabDocAcc = getTabDocAccessible();
       var thisDocTabPanelAcc = thisTabDocAcc.parent.parent;