RESOLVED FIXED 175329
REGRESSION (r220052): [Sierra] API test VideoControlsManager.VideoControlsManagerFullSizeVideoInWideMainFrame is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=175329
Summary REGRESSION (r220052): [Sierra] API test VideoControlsManager.VideoControlsMan...
Ryan Haddad
Reported 2017-08-08 09:46:50 PDT
API test VideoControlsManager.VideoControlsManagerFullSizeVideoInWideMainFrame is a flaky failure FAIL VideoControlsManager.VideoControlsManagerFullSizeVideoInWideMainFrame /Volumes/Data/slave/sierra-debug/build/Tools/TestWebKitAPI/Tests/WebKit2Cocoa/VideoControlsManager.mm:57 Value of: hasVideoForControlsManager Actual: false Expected: true https://build.webkit.org/builders/Apple%20Sierra%20Debug%20WK1%20(Tests)/builds/2870
Attachments
Patch (6.50 KB, patch)
2017-09-03 15:31 PDT, Darin Adler
wenson_hsieh: review+
Alexey Proskuryakov
Comment 1 2017-08-08 10:40:35 PDT
HAs something changed, or have we simply been not noticing this for so long?
Ryan Haddad
Comment 2 2017-08-08 10:42:43 PDT
(In reply to Alexey Proskuryakov from comment #1) > HAs something changed, or have we simply been not noticing this for so long? This seems to be a recent regression, perhaps sharing the same root cause as https://bugs.webkit.org/show_bug.cgi?id=175143 I am trying to reproduce both failures locally and identify a regression point.
Ryan Haddad
Comment 3 2017-08-10 13:17:22 PDT
Ryan Haddad
Comment 4 2017-08-14 11:33:02 PDT
Darin Adler
Comment 5 2017-08-15 09:16:38 PDT
Jer, can you perhaps help me figure out why this is failing? I would like to fix it and re-enable the test.
Darin Adler
Comment 6 2017-09-03 15:31:17 PDT
Darin Adler
Comment 7 2017-09-03 22:24:30 PDT
Passing all EWS now. Ready for someone to review.
Wenson Hsieh
Comment 8 2017-09-04 00:34:10 PDT
Comment on attachment 319811 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=319811&action=review > Tools/ChangeLog:9 > + video controls to appear. With changes to how loading occurrs, it can now Nit - occurrs => occurs > Tools/ChangeLog:13 > + changing the tests to wait one more run loop should get rid of the flakiness. In the longer term, I think it makes more sense for some of these tests to expect media controls to show up eventually, instead of expecting them after a "playing" message sent after a 0-delay timer in the web process. As you noted, there isn't a guarantee of how many run loop cycles it would take for the web process to be in a state where it wants to show media controls, nor should there be, since touch bar presence for media elements isn't web/API exposed.
Darin Adler
Comment 9 2017-09-04 09:27:41 PDT
Radar WebKit Bug Importer
Comment 10 2017-09-27 12:48:20 PDT
Note You need to log in before you can comment on or make changes to this bug.