I've looked into this issue a bit and, so far, the only thing I've been able
to determine is that sometimes when a browser is under heavy load timers
start to work incorrectly (I've noticed this much more so in Firefox, and to
a lesser degree in Safari). Sometimes one timer will fire after another,
even though it shouldn't occur (e.g. one timer is started with a timeout of
100ms, another with 2000ms - but the second one finishes first).

We recently commented out another batch of FX tests that were having a
similar problem to the one that you noted (for the upcoming 1.3.3 release).

If there was some guarantee that timers would always execute in the same
order in which they were called (relative to their timer delay) then that
would probably remove the issues we're seeing.

However, on a whole, we're just backing off from testing multiple,
simultaneous, timers since it's just too hard to quantify.

--John


On Thu, Jul 30, 2009 at 9:09 PM, Clint Talbert (Mozilla Address) <
ctalb...@mozilla.com> wrote:

>
> Hi,
>
> I'm trying to track down a problem that we are having with a 1.2.2
> version of the Jquery library and test suite that we run in Mozilla's
> automated Mochitest system (bug 484994 [1]).  The problems we seem to
> have most often are that the tests "stop(clearQueue, gotoEnd)" and
> "stop() - several in queue" in the fx unit test module are very
> flaky.
>
> I downloaded the 1.3.2 release and I'm planning to upgrade our system
> to that (just a good idea in general).  And I noticed that the
> assertions in these tests were commented out in 1.3.2 for being
> "flaky" (and they still are in the current trunk code).
>
> I wanted to know if you knew why these were flaky, and if they were
> flaky across all browsers or if this is something I should be
> concerned about digging into for Firefox specifically.
>
> Thanks very much for your help.
>
> Clint
>
> [1]: https://bugzilla.mozilla.org/show_bug.cgi?id=484994
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to