Summary: | [iOS] Silently deny access to mail settings triggered by MessageUI framework | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Brent Fulgham <bfulgham> | ||||||||
Component: | WebKit2 | Assignee: | Brent Fulgham <bfulgham> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | achristensen, ap, bfulgham, eric.carlson, ews-watchlist | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Description
Brent Fulgham
2019-01-03 12:58:14 PST
Created attachment 358274 [details]
Patch
Comment on attachment 358274 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=358274&action=review > Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:158 > +;; Silently deny unnecessary accesses caused by MessageUI framework. Is there a radar that tracks fixing this in MessageUI, so that we could remove the hack in the future? Silencing sandbox violations is not clean software design. Comment on attachment 358274 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=358274&action=review >> Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:158 >> +;; Silently deny unnecessary accesses caused by MessageUI framework. > > Is there a radar that tracks fixing this in MessageUI, so that we could remove the hack in the future? Silencing sandbox violations is not clean software design. Yes: I'll add the relevant radar to this comment so we know to remove it in the future. Created attachment 358294 [details]
Patch
Comment on attachment 358294 [details]
Patch
r=me assuming that you tested the fix. I do not know if MessageUI reads the preference using direct file access or via cfprefsd, and what this change would do in the latter case.
Comment on attachment 358294 [details] Patch Attachment 358294 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: https://webkit-queues.webkit.org/results/10622461 New failing tests: imported/w3c/web-platform-tests/webrtc/simplecall.https.html Created attachment 358301 [details]
Archive of layout-test-results from ews122 for ios-simulator-wk2
The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews122 Port: ios-simulator-wk2 Platform: Mac OS X 10.13.6
Committed r239611: <https://trac.webkit.org/changeset/239611> |