Bug 193159 - MiniBrowser does not show file save dialogs due to app-sandbox
Summary: MiniBrowser does not show file save dialogs due to app-sandbox
Status: RESOLVED DUPLICATE of bug 192431
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-01-04 14:13 PST by Joseph Pecoraro
Modified: 2019-02-08 15:15 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2019-01-04 14:13:03 PST
MiniBrowser does not show file save dialogs due to app-sandbox

Unsure if there is an entitlement we need to add to MiniBrowser to get it to use the open/save panel.

Steps to Reproduce:
1. Launch MiniBrowser with built frameworks
2. Open Inspector
3. Show Network Tab
4. Reload the page
5. Click "Export" in the toolbar
  => Should show a file save dialog, but it does not.

System Console (`log stream`) has:
...
com.apple.appkit.xpc.openAndSavePanelService: (AppKit) [com.apple.AppKit:General] +[NSOpenAndSavePanelService loadViewToService:isOpenPanel:appCentric:] : failed entitlements check
...

Workaround:
Remove `<key>com.apple.security.app-sandbox</key>` and its value from Tools/MiniBrowser/MiniBrowser.entitlements gets this working.
Comment 1 Radar WebKit Bug Importer 2019-01-04 14:13:29 PST
<rdar://problem/47057082>
Comment 2 Joseph Pecoraro 2019-02-08 15:15:18 PST
Looks like a better fix for this is in bug 192431.

*** This bug has been marked as a duplicate of bug 192431 ***