Various WebKit media tests can fail when TCC prompts are displayed when WebKitTestRunner attempts to create sandbox extensions for media capture devices. When running our test infrastructure, we use Mock devices, which do not need these extensions, and should not be creating any prompts. This patch revises the media capture device logic to avoid extending the sandbox for mock test devices.
Created attachment 341672 [details] Patch
<rdar://problem/40690875>
Created attachment 341673 [details] Patch for landing
Comment on attachment 341673 [details] Patch for landing Clearing flags on attachment: 341673 Committed r232360: <https://trac.webkit.org/changeset/232360>
All reviewed patches have been landed. Closing bug.