Bug Tracker

Ticket #3723 (closed bug: worksforme)

Opened 6 years ago

Last modified 3 years ago

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@…
Blocking: Blocked by:

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

comment:1 Changed 6 years ago by flesler

  • Owner flesler deleted
  • Component changed from unfilled to fx

comment:2 Changed 4 years ago by rwaldron

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

comment:3 Changed 3 years ago by timmywil

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

comment:4 Changed 3 years ago by john

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

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

Note: See TracTickets for help on using tickets.