Entering Tab View after a bunch of YouTube pages were opened in background tabs makes all of them start playing simultaneously
To fix this, there needs to be API for preventing the normal behavior of media starting when a view is in a window.
Created attachment 176169 [details]
Committed in <http://trac.webkit.org/r135819>.
This patch caused 276 failures on the EFL bots.
(In reply to comment #4)
> This patch caused 276 failures on the EFL bots.
and 65 tests on Qt WK2 - http://build.webkit.sed.hu/results/x86-64%20Linux%20Qt%20Release%20WebKit2%20%28Amazon%20EC2%29/r135822%20%2811203%29/results.html
Re-opened since this is blocked by bug 103388
(In reply to comment #6)
> Re-opened since this is blocked by bug 103388
Rollout landed in http://trac.webkit.org/changeset/135844
CC EFL and Qt guys, maybe you can help debugging the regression caused by this patch.
I am going to move the initialization of WebPage::m_mayStartMediaWhenInWindow so that it’s before the call to platformInitialize(), thinking that some platforms may call setIsInWindow() from there.
Fixed in <http://trac.webkit.org/r135915>.