Add "has active capture device" bit to media state flags
Created attachment 292773 [details] Proposed patch.
Committed r207827: https://trac.webkit.org/r207827
Plus https://trac.webkit.org/r207828 to define the WK2 flag.
The test added with this change is timing out on Mac WK1/WK2. WK1 has a repeated error in the result: FAIL window.internals.isPagePlayingAudio() should be false. Threw exception TypeError: window.internals.isPagePlayingAudio is not a function. (In 'window.internals.isPagePlayingAudio()', 'window.internals.isPagePlayingAudio' is undefined) https://build.webkit.org/builders/Apple%20Sierra%20Release%20WK2%20(Tests)/builds/919 https://build.webkit.org/builders/Apple%20Sierra%20Release%20WK1%20(Tests)/builds/990
(In reply to comment #4) > The test added with this change is timing out on Mac WK1/WK2. WK1 has a > repeated error in the result: > > FAIL window.internals.isPagePlayingAudio() should be false. Threw exception > TypeError: window.internals.isPagePlayingAudio is not a function. (In > 'window.internals.isPagePlayingAudio()', > 'window.internals.isPagePlayingAudio' is undefined) > > https://build.webkit.org/builders/Apple%20Sierra%20Release%20WK2%20(Tests)/ > builds/919 > https://build.webkit.org/builders/Apple%20Sierra%20Release%20WK1%20(Tests)/ > builds/990 Correction, webaudio/web-audio-is-playing.html is an existing test that is now failing.
Re-opened since this is blocked by bug 163965
Recommitted r207838: in https://trac.webkit.org/r207838
Correction: relanded as r207839: https://trac.webkit.org/207839
Plus r207898: https://trac.webkit.org/r207898