Summary: | LayoutTest media/modern-media-controls/tracks-panel/tracks-panel-hide.html is a flaky timeout | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ryan Haddad <ryanhaddad> | ||||
Component: | New Bugs | Assignee: | Antoine Quint <graouts> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue, graouts | ||||
Priority: | P2 | ||||||
Version: | Other | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Ryan Haddad
2017-01-23 09:28:51 PST
This appears to be limited to macOS debug. Marked test as flaky in http://trac.webkit.org/projects/webkit/changeset/211059 The timeout is caused by the "transitionend" event not being fired. This looks like a bug in the TracksPanel class where we register for the "transitionend" event at the same time we apply the "fade-out" class that triggers the transition. But in case the value we're animating from is already 0, we won't have a chance to transition and there will be no event. So we need to register for the event first and delay the transition until the next frame. Created attachment 299631 [details]
Patch
Comment on attachment 299631 [details] Patch Clearing flags on attachment: 299631 Committed r211131: <http://trac.webkit.org/changeset/211131> All reviewed patches have been landed. Closing bug. |