Closed Bug 1592199 Opened 5 years ago Closed 4 years ago

animationend events delay and setTimeout

Categories

(Web Compatibility :: Desktop, defect, P1)

Unspecified
Android
defect

Tracking

(Webcompat Priority:?, firefox72 affected)

RESOLVED WORKSFORME
Webcompat Priority ?
Tracking Status
firefox72 --- affected

People

(Reporter: karlcow, Unassigned)

References

(Regression, )

Details

(Keywords: webcompat:contact-ready)

  1. With Firefox on Android
  2. Go to https://cloud.google.com/appengine/
  3. tap on the top left 3 bars icon to open the menu.

Sometimes the menu open with content,
sometimes without content.

You may have to try a couple of times.

See the diagnosis of Thomas in
https://webcompat.com/issues/19363#issuecomment-513335979

Emilio said:

We may want to delay animationend events as well for example, maybe... It's weird to setTimeout(foo, 1000), starting an animations of 2s duration, and getting animationend before the setTimeout.

Flags: needinfo?(rjesup)

Thomas' diagnosis is fairly accurate - it appears they simply coded in an assumption that a particular timeout would occur before a particular other event. The web specs make no such guarantee; they merely say the order timeouts will fire in, and that they will be after the target time. This is in fact a webcompat bug of Google's.

Component: Performance → Desktop
Flags: needinfo?(rjesup)
Product: Core → Web Compatibility
Version: 72 Branch → unspecified
Priority: -- → P1

Karl, can you get this to reproduce? I've tried about 10 times over 2 days, and possibly the site was redesigned?

Flags: needinfo?(kdubost)

Yes the code has been totally changed.

Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(kdubost)
Resolution: --- → WORKSFORME
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.