This test uses setTimeouts to measure the number of active transitions at given times. Since this is a 0 duration transition, it is not possible to use transitionEnd events instead (they are not dispatched), but it should be possible to improve reliability of this test by increasing the final timeout. This test fails ~50% of the time on the Chromium bots.
Created attachment 43459 [details] Increase timeout from 500ms to 750ms (transition delay is set to 500ms).
Comment on attachment 43459 [details] Increase timeout from 500ms to 750ms (transition delay is set to 500ms). There is no event we could listen for instead? Ideally we would add a comment next to the setTimeout about why it's required. Especially since we're trying to kill all the other setTimeouts, seems we should document why this one is OK.
Also, you probably want to cc Chris on transition bugs. :)
Since the transitionEnd event isn't dispatched, I'm not sure what other event we could use. I'll add a comment with the setTimeout. What is Chris's email address?
cmarrin. I CC'd him already. Thanks.
Committed: http://trac.webkit.org/changeset/51150