Bug 219386

Summary: [macOS] Deny mach lookup of 'com.apple.webinspector' in the WebContent process
Product: WebKit Reporter: Per Arne Vollan <pvollan>
Component: WebKit Misc.Assignee: Per Arne Vollan <pvollan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, darin, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Per Arne Vollan 2020-11-30 22:41:24 PST
After r270035, mach-lookup of 'com.apple.webinspector' can be denied in the WebContent process on macOS.
Comment 1 Per Arne Vollan 2020-11-30 22:41:58 PST
<rdar://problem/60932734>
Comment 2 Per Arne Vollan 2020-12-01 00:39:23 PST
Created attachment 415104 [details]
Patch
Comment 3 Per Arne Vollan 2020-12-01 12:34:22 PST
Created attachment 415155 [details]
Patch
Comment 4 Per Arne Vollan 2020-12-01 13:07:10 PST
I did not add a test for this, since the result will depend on whether the Safari Develop menu is enabled.
Comment 5 Per Arne Vollan 2020-12-01 13:08:05 PST
Comment on attachment 415155 [details]
Patch

Thanks for reviewing!
Comment 6 EWS 2020-12-01 13:38:52 PST
Committed r270326: <https://trac.webkit.org/changeset/270326>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 415155 [details].
Comment 7 youenn fablet 2021-01-07 03:14:40 PST
This caused service workers to no longer be inspectable.
I filed https://bugs.webkit.org/show_bug.cgi?id=220406.