Skip to main content

Bug Tracker

Side navigation

#3723 closed bug (worksforme)

Opened December 17, 2008 08:15PM UTC

Closed July 11, 2011 06:03PM UTC

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@mozilla.org
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.

Attachments (0)
Change History (4)

Changed January 03, 2009 01:18AM UTC by flesler comment:1

component: unfilledfx
owner: flesler

Changed October 29, 2010 03:56AM UTC by rwaldron comment:2

cc: jresig@mozilla.comjresig@mozilla.org
owner: → john
status: newassigned

Changed April 17, 2011 07:28PM UTC by timmywil comment:3

milestone: 1.31.next
priority: majorhigh

Changed July 11, 2011 06:03PM UTC by john comment:4

resolution: → worksforme
status: assignedclosed

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