Skip to main content

Bug Tracker

Side navigation

#9957 closed bug (duplicate)

Opened August 02, 2011 10:49AM UTC

Closed August 02, 2011 01:59PM UTC

Last modified March 14, 2012 07:44AM UTC

setTimeout setInterval broken

Reported by: kimdwkimdw@gmail.com Owned by:
Priority: high Milestone: 1.next
Component: effects Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:
Description

Case A:


function a() {

obj.animate ( { } , speed )

setTimeout(a , 1000)

}

setTimeout (a , 1000 ) ;


Case B:


function a() {

obj.animate ( { } , speed )

}

setInterval(a, 1000)


In both of cases, animation repeatedly stacked!

When I was seeing the other tab of chrome, I've got back to original page which has scripts like above. Browser ignore original duration of animation.

In IE9, it didn't appear. it appeared in Chrome, FF.

I've also tested this bug in 1.5.2, it didn't appear.

Attachments (0)
Change History (4)

Changed August 02, 2011 10:56AM UTC by anonymous comment:1

http://jsfiddle.net/2AU3S/ here is example

Changed August 02, 2011 01:59PM UTC by timmywil comment:2

component: unfiledeffects
milestone: None1.next
priority: undecidedhigh
resolution: → duplicate
status: newclosed

Changed August 02, 2011 01:59PM UTC by timmywil comment:3

Duplicate of #9381.

Changed August 02, 2011 01:59PM UTC by timmywil comment:4