Bug 219540 - [macOS] Create sandbox extension for audio service when Media in GPU process is not enabled
Summary: [macOS] Create sandbox extension for audio service when Media in GPU 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-12-04 07:02 PST by Per Arne Vollan
Modified: 2020-12-08 11:21 PST (History)
2 users (show)

See Also:


Attachments
Patch (2.67 KB, patch)
2020-12-04 07:06 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-12-04 07:02:53 PST
Create sandbox extension for com.apple.audio.SandboxHelper when Media in GPU process is not enabled.
Comment 1 Radar WebKit Bug Importer 2020-12-04 07:03:49 PST
<rdar://problem/71978050>
Comment 2 Per Arne Vollan 2020-12-04 07:06:20 PST
Created attachment 415411 [details]
Patch
Comment 3 Brent Fulgham 2020-12-08 10:37:54 PST
Comment on attachment 415411 [details]
Patch

r=me
Comment 4 Brent Fulgham 2020-12-08 10:38:33 PST
Comment on attachment 415411 [details]
Patch

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

> Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:1301
> +            "com.apple.accessibility.mediaaccessibilityd" "com.apple.audio.SandboxHelper" "com.apple.audio.toolbox.reporting.service" "com.apple.coremedia.videodecoder" "com.apple.coremedia.videoencoder"

Do we need to remove 'com.apple.audio.SandboxHelper' from another part of the sandbox, or make it a 'with-report' so we can be sure it's going through the new flow?
Comment 5 Per Arne Vollan 2020-12-08 11:09:05 PST
(In reply to Brent Fulgham from comment #4)
> Comment on attachment 415411 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=415411&action=review
> 
> > Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:1301
> > +            "com.apple.accessibility.mediaaccessibilityd" "com.apple.audio.SandboxHelper" "com.apple.audio.toolbox.reporting.service" "com.apple.coremedia.videodecoder" "com.apple.coremedia.videoencoder"
> 
> Do we need to remove 'com.apple.audio.SandboxHelper' from another part of
> the sandbox, or make it a 'with-report' so we can be sure it's going through
> the new flow?

I was thinking we could gather telemetry with the other rule after we switch over to GPU, and then eventually remove it. Does that sound ok? Or would you prefer to remove it now?

Thanks for reviewing!
Comment 6 EWS 2020-12-08 11:21:16 PST
Committed r270545: <https://trac.webkit.org/changeset/270545>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 415411 [details].