Bug 222469

Summary: Perform default Web browser check in the UI process
Product: WebKit Reporter: Per Arne Vollan <pvollan>
Component: WebKit Misc.Assignee: Per Arne Vollan <pvollan>
Status: NEW    
Severity: Normal CC: bfulgham, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch bfulgham: review-

Per Arne Vollan
Reported 2021-02-26 05:58:02 PST
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.
Attachments
Patch (5.74 KB, patch)
2021-02-26 06:28 PST, Per Arne Vollan
bfulgham: review-
Radar WebKit Bug Importer
Comment 1 2021-02-26 05:59:00 PST
Per Arne Vollan
Comment 2 2021-02-26 06:28:53 PST
Brent Fulgham
Comment 3 2021-02-26 09:54:13 PST
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.
Per Arne Vollan
Comment 4 2021-02-26 10:18:40 PST
(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!
Note You need to log in before you can comment on or make changes to this bug.