LayoutTest media/video-main-content-allow-then-deny.html failing https://build.webkit.org/results/Apple%20El%20Capitan%20Release%20WK2%20(Tests)/r202936%20(7445)/results.html --- /Volumes/Data/slave/elcapitan-release-tests-wk2/build/layout-test-results/media/video-main-content-allow-then-deny-expected.txt +++ /Volumes/Data/slave/elcapitan-release-tests-wk2/build/layout-test-results/media/video-main-content-allow-then-deny-actual.txt @@ -2,6 +2,6 @@ EVENT(canplaythrough) EVENT(playing) RUN(video.style.visibility = "hidden") -EVENT(pause) +FAIL: did not end fast enough END OF TEST
Marked as failing in <https://trac.webkit.org/r202941>
It fails almost every time on El Capitan, and it sometimes fails on Yosemite. Looks like a regression from <http://trac.webkit.org/r202918>. Jer, could you please take a look?
Sure thing.
This test will time out if a pause event is not fired within 500ms of hiding the <video> element. For a first pass, lets see if increasing this timeout to 1s doesn't fix this issue.
Nope, that's not the issue. The problem is that the MediaElementSession's m_isMainContent is (now) being modified outside the m_mainContentCheckTimer. Have a fix.
Created attachment 283478 [details] Patch
Comment on attachment 283478 [details] Patch Clearing flags on attachment: 283478 Committed r203219: <http://trac.webkit.org/changeset/203219>
All reviewed patches have been landed. Closing bug.