Ticket #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@… | |
| 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 4 years ago by flesler
- Owner flesler deleted
- Component changed from unfilled to fx
comment:2 Changed 3 years ago by rwaldron
- Cc jresig@… added; jresig@… removed
- Owner set to john
- Status changed from new to assigned
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
