Opened 14 years ago
Closed 12 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: | [email protected]… | |
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 14 years ago by
Component: | unfilled → fx |
---|---|
Owner: | flesler deleted |
comment:2 Changed 12 years ago by
Cc: | [email protected]… added; [email protected]… removed |
---|---|
Owner: | set to john |
Status: | new → assigned |
comment:3 Changed 12 years ago by
Milestone: | 1.3 → 1.next |
---|---|
Priority: | major → high |
comment:4 Changed 12 years ago by
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
I'm fairly certain most of these tests have been removed.