We should do the same work on macOS that we did for Bug 204367. Namely: "When camera or microphone access has been granted by the user, have the UI process create a sandbox extension for "com.apple.tccd", and send it to the WebContent process." On macOS, we actually have to create extensions to 'com.apple.tccd' and 'com.apple.tccd.system'.
<rdar://problem/57666569>
Created attachment 392610 [details] Patch
Comment on attachment 392610 [details] Patch R=me.
After talking with the TCC team, it seems like various frameworks need to check in with 'com.apple.tccd.system' (including Accessibility). We should keep the blanket allow for this, and just act like iOS. I'll revise the patch to match.
Created attachment 392632 [details] Patch for landing
Comment on attachment 392632 [details] Patch for landing Clearing flags on attachment: 392632 Committed r257956: <https://trac.webkit.org/changeset/257956>
All reviewed patches have been landed. Closing bug.