Figure out why the disabled code in test_animation-player-starttime.html (and currenttime.html) is a bit racy

NEW
Assigned to

Status

()

Core
DOM
3 years ago
3 years ago

People

(Reporter: jwatt, Assigned: jwatt)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

In:

https://mxr.mozilla.org/mozilla-central/source/dom/animation/test/css-animations/test_animation-player-starttime.html?force=1

There is this disabled code:

> > +  // This must come after we've set up the Promise chain, since requesting
> > +  // computed style will force events to be dispatched.
> > +  // XXX For some reason this fails occasionally (either the player.playState
> > +  // check or the marginLeft check).
> > +  //checkStateAtActiveIntervalEndTime(player);

We should figure out why that is and decide whether it's expected or not.
You need to log in before you can comment on or make changes to this bug.