https://bugzilla.wikimedia.org/show_bug.cgi?id=68884

--- Comment #8 from Krinkle <[email protected]> ---
(In reply to Tisza Gergő from comment #6)
> Could be caused by an animation started via a timeout in some other test.
> 
> The error is thrown by 
> https://git.wikimedia.org/blob/mediawiki%2Fcore.git/
> 5950ac2cef80cd69306458672adb4755fab60e98/tests%2Fqunit%2Fdata%2Ftestrunner.
> js#L249 
> 
> $.timers is populated by jQuery.fx.timer, maybe that function could be
> decorated to store the call chain when timers are added? Just create an
> exception, log the stack trace, then discard it - the top of the stack
> should be some function passed to a setTimeout call, and that function can
> be used to identify the test which should use a fake timer but doesn't.

It'd be disproportionate effort to implement this as part of the test. But
since the callstack is deterministic, it should be pretty straight forward to
add some tracing locally when debugging this particular issue in e.g. Chrome to
find out which animations are started. QUnit runs only one test at a time and
always in the same order (some exceptions here, but not relevant in this case).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to