<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>193159</bug_id>
          
          <creation_ts>2019-01-04 14:13:03 -0800</creation_ts>
          <short_desc>MiniBrowser does not show file save dialogs due to app-sandbox</short_desc>
          <delta_ts>2019-02-08 15:15:18 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>192431</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joseph Pecoraro">joepeck</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>joepeck</cc>
    
    <cc>lforschler</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1491888</commentid>
    <comment_count>0</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2019-01-04 14:13:03 -0800</bug_when>
    <thetext>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 &quot;Export&quot; in the toolbar
  =&gt; 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 `&lt;key&gt;com.apple.security.app-sandbox&lt;/key&gt;` and its value from Tools/MiniBrowser/MiniBrowser.entitlements gets this working.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1491890</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-01-04 14:13:29 -0800</bug_when>
    <thetext>&lt;rdar://problem/47057082&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1504326</commentid>
    <comment_count>2</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2019-02-08 15:15:18 -0800</bug_when>
    <thetext>Looks like a better fix for this is in bug 192431.

*** This bug has been marked as a duplicate of bug 192431 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>