WKWebView (latest WebKit 612.1.20) asking for Microphone access permission (TCC prompt) on first run (just after navigation commit) on macOS 12.0?
Tested several times by clearing privacy settings tccutil reset Microphone.
But when I tried on google.com, apple.com, there were no prompt.
And when I tested same on macOS 11.0, there was no prompt and everything was normal as expected.
How to reproduce -
Create a small macOS app with WKWebView (MiniBrowser can also be used) and try to load any website from bellow -
or bellow sites:
and even when I open custom url scheme
I tried with MiniBrowser and was not able to repro.
Normally, WebKit will only trigger a prompt in case the page calls getUserMedia.
Would you be able to take a sysdiagnose while reproducing the error and noting the time of reproduction, then send it privately to me (firstname.lastname@example.org)?
This was fixed by bug #229238.
*** This bug has been marked as a duplicate of bug 229238 ***