Bug Tracker

Opened 8 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:


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 8 years ago by flesler

  • Component changed from unfilled to fx
  • Owner flesler deleted

comment:2 Changed 6 years ago by rwaldron

  • Cc jresig@… added; jresig@… removed
  • Owner set to john
  • Status changed from new to assigned

comment:3 Changed 6 years ago by timmywil

  • Milestone changed from 1.3 to 1.next
  • Priority changed from major to high

comment:4 Changed 6 years ago by john

  • Resolution set to worksforme
  • Status changed from assigned to closed

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

Note: See TracTickets for help on using tickets.