Bug 187981

Summary: [macOS] PluginProcess needs TCC entitlements for media capture
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: WebKit2Assignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, ap, bfulgham, cdumez, commit-queue, eric.carlson, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=185526
Bug Depends on: 185526    
Bug Blocks:    
Attachments:
Description Flags
Patch none

Brent Fulgham
Reported 2018-07-24 17:16:33 PDT
The changes needed in Bug 185526 are also needed for the plugin process, or else the UIProcess (e.g., Safari) is not able to pass the user's camera/microphone access permission to the plugin process. This patch has the following changes: 1. Rename "WebContent-OSX-restricted.entitlements" to "WebContent-or-Plugin-OSX-restricted.entitlements" 2. Rename "process-webcontent-entitlements.sh" to "process-webcontent-or-plugin-entitlements.sh" 3. Add a run-script step to the Plugin.64 and Plugin.32 builds to add the relevant entitlements. 4. Silence some Flash plugin sandbox exceptions triggered after activating the camera.
Attachments
Patch (15.51 KB, patch)
2018-07-24 17:29 PDT, Brent Fulgham
no flags
Brent Fulgham
Comment 1 2018-07-24 17:24:32 PDT
Brent Fulgham
Comment 2 2018-07-24 17:29:16 PDT
Chris Dumez
Comment 3 2018-07-25 08:43:33 PDT
Comment on attachment 345729 [details] Patch r=me
WebKit Commit Bot
Comment 4 2018-07-25 08:47:50 PDT
Comment on attachment 345729 [details] Patch Clearing flags on attachment: 345729 Committed r234195: <https://trac.webkit.org/changeset/234195>
WebKit Commit Bot
Comment 5 2018-07-25 08:47:51 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.