<?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>236943</bug_id>
          
          <creation_ts>2022-02-20 13:33:48 -0800</creation_ts>
          <short_desc>File download link in PWA cannot be exited</short_desc>
          <delta_ts>2023-04-03 09:15:12 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Service Workers</component>
          <version>Safari 15</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 15</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <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="William O&apos;Connell">webkitbugs</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bdakin</cc>
    
    <cc>bfulgham</cc>
    
    <cc>tykhorses+webkitbugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1844079</commentid>
    <comment_count>0</comment_count>
    <who name="William O&apos;Connell">webkitbugs</who>
    <bug_when>2022-02-20 13:33:48 -0800</bug_when>
    <thetext>When clicking an &lt;a&gt; with a download attribute, Safari asks which app should be used to open the file. However, in an installed PWA the user becomes stranded with no way to go back other than force quitting and relaunching the app.

Steps to reproduce:
1) Visit https://safari-download-bug.surge.sh/ on an iPhone
2) Add the site to your home screen
3) Open it from the home screen
4) Click the link

The app ends up on a file download screen (screenshot: https://will-o.co/WitWcA9Sqj.png) with no other navigation. Even the swipe back gesture doesn&apos;t work. There should be a &quot;done&quot; or &quot;back&quot; button somewhere.

Found on an iPhone X running iOS 15.2.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1844252</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-02-21 10:11:37 -0800</bug_when>
    <thetext>&lt;rdar://problem/89242693&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1877921</commentid>
    <comment_count>2</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-06-23 15:26:28 -0700</bug_when>
    <thetext>This is actually tracked here:
rdar://52460025

Unfortunately, this is an issue outside of the WebKit project and cannot be resolved with a check-in for this project. Therefore this is marked as &quot;RESOLVED | MOVED&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1946215</commentid>
    <comment_count>3</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2023-04-03 09:15:12 -0700</bug_when>
    <thetext>*** Bug 231892 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>