Bug 219386 - [macOS] Deny mach lookup of 'com.apple.webinspector' in the WebContent process
Summary: [macOS] Deny mach lookup of 'com.apple.webinspector' in the WebContent process
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Per Arne Vollan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-11-30 22:41 PST by Per Arne Vollan
Modified: 2021-01-07 03:14 PST (History)
4 users (show)

See Also:


Attachments
Patch (3.88 KB, patch)
2020-12-01 00:39 PST, Per Arne Vollan
no flags Details | Formatted Diff | Diff
Patch (1.33 KB, patch)
2020-12-01 12:34 PST, Per Arne Vollan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.