mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
Bug 1180125 part 0 - Fix an obvious bug in animation_utils.js; r=dbaron
There was a bug introduced in to animation_utils.js in https://hg.mozilla.org/mozilla-central/rev/496e867cd2cd (bug 1070745). This patch fixes this bug so we can be sure testing events correctly before messing with them.
This commit is contained in:
parent
9b788b694b
commit
8a25d40d2a
@ -55,7 +55,7 @@ function advance_clock(milliseconds) {
|
||||
// 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, gEventsReceived.length,
|
||||
is(gEventsReceived.length, eventsExpected.length,
|
||||
"number of events received for " + desc);
|
||||
for (var i = 0,
|
||||
i_end = Math.min(eventsExpected.length, gEventsReceived.length);
|
||||
|
Loading…
Reference in New Issue
Block a user