Bug Tracker

Opened 9 years ago

Closed 6 years ago

#3723 closed bug (worksforme)

jquery fx unit tests fail on resource contrained devices

Reported by: joelmaher Owned by: john
Priority: high Milestone: 1.next
Component: effects Version: 1.2.6
Keywords: Cc: jresig@…
Blocked by: Blocking:

Description

while running the jquery tests for mobile firefox (fennec), I ran into a few tests in fx.js which fail "stop() - several in queue" and "stop(clearQueue, gotoEnd)".

It appears that when we add a few items to the queue by calling: $foo.animate({ width:'show' }, 1000);

we take a very long time and these items start expiring off the queue. So in the case of "stop() - several in queue", we query the length of the queue and get 2 instead of 3. Increasing the timeout to 5000 instead of 1000 allows the tests to pass, but fails when I do that while running the tests against firefox.

The solution is not clear, but the tests need to be modified to support limited resource scenarios. Luckily out of the 1197 tests that we run, only 4 failures are seen inside of two tests.

Change History (4)

comment:1 Changed 9 years ago by flesler

Component: unfilledfx
Owner: flesler deleted

comment:2 Changed 7 years ago by Rick Waldron

Cc: jresig@… added; jresig@… removed
Owner: set to john
Status: newassigned

comment:3 Changed 6 years ago by timmywil

Milestone: 1.31.next
Priority: majorhigh

comment:4 Changed 6 years ago by john

Resolution: worksforme
Status: assignedclosed

I'm fairly certain most of these tests have been removed.

Note: See TracTickets for help on using tickets.