Bug 173948 - [WK2][macOS][iOS] Don't request microphone access for clients that don't need it.
Summary: [WK2][macOS][iOS] Don't request microphone access for clients that don't need...
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:
Blocks:
 
Reported: 2017-06-28 18:00 PDT by Brent Fulgham
Modified: 2017-06-28 21:04 PDT (History)
7 users (show)

See Also:


Attachments
Patch (2.20 KB, patch)
2017-06-28 18:04 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 2017-06-28 18:00:33 PDT
We only support microphone access from Safari. The current code attempts to extend the sandbox for all WebKit clients, which leads to annoying sandbox violations.

This patch stops non-Safari clients from requesting microphone access, since they do not have the necessary entitlements to do so under any circumstances.
Comment 1 Brent Fulgham 2017-06-28 18:04:12 PDT
Created attachment 314078 [details]
Patch
Comment 2 Brent Fulgham 2017-06-28 18:04:56 PDT
<rdar://problem/32103275>
Comment 3 WebKit Commit Bot 2017-06-28 21:04:41 PDT
Comment on attachment 314078 [details]
Patch

Clearing flags on attachment: 314078

Committed r218916: <http://trac.webkit.org/changeset/218916>
Comment 4 WebKit Commit Bot 2017-06-28 21:04:42 PDT
All reviewed patches have been landed.  Closing bug.