Side navigation
#14361 closed bug (notabug)
Opened September 15, 2013 10:57PM UTC
Closed September 29, 2013 08:54PM UTC
animate duration off be MILLISECONDS
| Reported by: | raam86@gmail.com | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | None |
| Component: | unfiled | Version: | 2.0.3 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
Trying simple unit tests I ran across:
http://jsfiddle.net/raam86/25u3k/3/
changing the timeout to 101 passes the test on 2.0.3 but not the other versions.
Not sure if it's a feature or a bug.
more info:
http://stackoverflow.com/questions/18818250/better-way-to-test-animate-with-qunit
Attachments (0)
Change History (1)
Changed September 29, 2013 08:54PM UTC by comment:1
| resolution: | → notabug |
|---|---|
| status: | new → closed |
That's a race condition. You can't assume the browser will execute short-duration timers accurately.