Bug 207850 - Update WebKit Tools to issue mach extensions as needed
Summary: Update WebKit Tools to issue mach extensions as needed
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brent Fulgham
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-02-17 12:14 PST by Brent Fulgham
Modified: 2022-03-01 02:26 PST (History)
5 users (show)

See Also:


Attachments
Patch (6.16 KB, patch)
2020-02-17 12:20 PST, Brent Fulgham
pvollan: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brent Fulgham 2020-02-17 12:14:37 PST
Now that we have sandboxed the various tool projects (WebKitTestRunner, TestWebKitAPI, and MiniBrowser), we need to grant them the ability to issue mach extensions to various services needed by the WebContent, Network, and GPU processes.

We probably need to get this added to an appropriate system sandbox, but for now we can use a workaround to allow test features to work properly.
Comment 1 Radar WebKit Bug Importer 2020-02-17 12:17:37 PST
<rdar://problem/59521019>
Comment 2 Brent Fulgham 2020-02-17 12:20:56 PST
Created attachment 390959 [details]
Patch
Comment 3 Per Arne Vollan 2020-02-17 14:29:44 PST
Comment on attachment 390959 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=390959&action=review

R=me.

> Tools/TestWebKitAPI/Configurations/TestWebKitAPI-macOS.entitlements:8
> +	<key>keychain-access-groups</key>
> +	<array>
> +		<string>com.apple.TestWebKitAPI</string>
> +	</array>

Is this needed?
Comment 4 Brent Fulgham 2020-02-17 14:54:30 PST
Comment on attachment 390959 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=390959&action=review

>> Tools/TestWebKitAPI/Configurations/TestWebKitAPI-macOS.entitlements:8
>> +	</array>
> 
> Is this needed?

Maybe not. We do have that in the WKTR entitlements, but I guess it was never needed previously. I'll take it out.
Comment 5 Brent Fulgham 2020-02-17 14:54:32 PST
Committed r256777: <https://trac.webkit.org/changeset/256777>