Bug 187981 - [macOS] PluginProcess needs TCC entitlements for media capture
Summary: [macOS] PluginProcess needs TCC entitlements for media capture
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brent Fulgham
URL:
Keywords: InRadar
Depends on: 185526
Blocks:
  Show dependency treegraph
 
Reported: 2018-07-24 17:16 PDT by Brent Fulgham
Modified: 2018-07-25 08:47 PDT (History)
7 users (show)

See Also:


Attachments
Patch (15.51 KB, patch)
2018-07-24 17:29 PDT, Brent Fulgham
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brent Fulgham 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.
Comment 1 Brent Fulgham 2018-07-24 17:24:32 PDT
<rdar://problem/42433634>
Comment 2 Brent Fulgham 2018-07-24 17:29:16 PDT
Created attachment 345729 [details]
Patch
Comment 3 Chris Dumez 2018-07-25 08:43:33 PDT
Comment on attachment 345729 [details]
Patch

r=me
Comment 4 WebKit Commit Bot 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>
Comment 5 WebKit Commit Bot 2018-07-25 08:47:51 PDT
All reviewed patches have been landed.  Closing bug.