Performing the default Web browser check in the UI process and passing the information on to each WebProcess is a slight performance speedup, since the check only needs to be done once in the UI process, instead of once in every WebContent process.
<rdar://problem/74787714>
Created attachment 421635 [details] Patch
I'm not sure we want to do this, because it would allow a malicious application to pass an incorrect flag in the message opening up access to sensitive features we don't trust outside of a web browser.
(In reply to Brent Fulgham from comment #3) > I'm not sure we want to do this, because it would allow a malicious > application to pass an incorrect flag in the message opening up access to > sensitive features we don't trust outside of a web browser. Ah, I see! Thanks for reviewing!