[Webkit-unassigned] [Bug 187494] New: MiniBrowser lacks entitlements to add extensions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 9 17:09:56 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=187494

            Bug ID: 187494
           Summary: MiniBrowser lacks entitlements to add extensions
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Macintosh
                OS: macOS 10.13
            Status: NEW
          Severity: Minor
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: opendarwin at lapcatsoftware.com

Steps to Reproduce:
1. Build WebKit on macOS 10.13
2. Debug MiniBrowser
3. Open "Debug" menu
4. Select "Show Extensions Manager"
5. Click the + button

This fails because of sandboxing. To fix, you just need to add the User Selected File sandbox entitlement to the MiniBrowser target App Sandbox Capabilities:

$ git diff
diff --git a/Tools/MiniBrowser/MiniBrowser.entitlements b/Tools/MiniBrowser/MiniBrowser.entitlements
index ea26ab24210..f5bddd5e533 100644
--- a/Tools/MiniBrowser/MiniBrowser.entitlements
+++ b/Tools/MiniBrowser/MiniBrowser.entitlements
@@ -4,6 +4,8 @@
 <dict>
        <key>com.apple.security.app-sandbox</key>
        <true/>
+       <key>com.apple.security.files.user-selected.read-only</key>
+       <true/>
        <key>com.apple.security.network.client</key>
        <true/>
        <key>com.apple.security.temporary-exception.files.absolute-path.read-only</key>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180710/d51c1d90/attachment.html>


More information about the webkit-unassigned mailing list