Don't prompt the user for device access or start media streams when a tab is in the background.
<rdar://problem/29048317>
Created attachment 294519 [details] Proposed patch.
Comment on attachment 294519 [details] Proposed patch. I'm not sure if this is the right way to do whatever it is you're doing, but the code seems fine. :)
Comment on attachment 294519 [details] Proposed patch. Clearing flags on attachment: 294519 Committed r208606: <http://trac.webkit.org/changeset/208606>
All reviewed patches have been landed. Closing bug.
(In reply to comment #4) > Comment on attachment 294519 [details] > Proposed patch. > > Clearing flags on attachment: 294519 > > Committed r208606: <http://trac.webkit.org/changeset/208606> This change appears to have broken the Windows build: https://build.webkit.org/builders/Apple%20Win%20Release%20%28Build%29/builds/81884
Plus r208612 to fix the Windows build.