Backed out changeset fb39baea4559 (bug 1180125) for causing Bug 1188799 on a CLOSED TREE
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Wed, 29 Jul 2015 17:32:50 +0200
changeset 281536 79c3a66ff523d40d8d96dbeae2137a7a3b532d1f
parent 281535 63a5d306eb923ff6a4034288f874bf2d608f8f29
child 281537 23d1a9b1df555a5550f8592c3cad1770153b635b
push id3885
push userbcampen@mozilla.com
push dateWed, 29 Jul 2015 18:32:33 +0000
bugs1180125, 1188799
milestone42.0a1
backs outfb39baea45595e6d110904f34242eaf91539beb1
Backed out changeset fb39baea4559 (bug 1180125) for causing Bug 1188799 on a CLOSED TREE
layout/style/test/animation_utils.js
--- a/layout/style/test/animation_utils.js
+++ b/layout/style/test/animation_utils.js
@@ -50,17 +50,17 @@ function advance_clock(milliseconds) {
     gElem.addEventListener("animationiteration", listener, false);
     gElem.addEventListener("animationend", listener, false);
   }
 
   function check_events(eventsExpected, desc) {
     // This function checks that the list of eventsExpected matches
     // the received events -- but it only checks the properties that
     // are present on eventsExpected.
-    is(gEventsReceived.length, eventsExpected.length,
+    is(gEventsReceived.length, gEventsReceived.length,
        "number of events received for " + desc);
     for (var i = 0,
          i_end = Math.min(eventsExpected.length, gEventsReceived.length);
          i != i_end; ++i) {
       var exp = eventsExpected[i];
       var rec = gEventsReceived[i];
       for (var prop in exp) {
         if (prop == "elapsedTime") {