<?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>245854</bug_id>
          
          <creation_ts>2022-09-29 16:08:03 -0700</creation_ts>
          <short_desc>navigator.share never returns its promise when &quot;Save Image&quot; selected.</short_desc>
          <delta_ts>2022-09-30 18:12:01 -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>Images</component>
          <version>Safari 16</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 16</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>231995</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Westbrook">westbrook.johnson</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>sabouhallawa</cc>
    
    <cc>thorton</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1902219</commentid>
    <comment_count>0</comment_count>
    <who name="Westbrook">westbrook.johnson</who>
    <bug_when>2022-09-29 16:08:03 -0700</bug_when>
    <thetext>When using `navigator.share()` if the visitor selects &quot;Save Image&quot; the promise is never resolved, so success/failure UI can never accurately be delivered. 

Reproduction:
1. In iOS
2. Visit https://w3c.github.io/web-share/demos/share-files.html
3. &quot;Choose Files&quot; so that at least one image is in the UI
4. Click &quot;Share&quot;
5. Choose &quot;Save Image&quot;
6. See the promise never return for a success message to be shared.

Expected:
1. In iOS
2. Visit https://w3c.github.io/web-share/demos/share-files.html
3. &quot;Choose Files&quot; so that at least one image is in the UI
4. Click &quot;Share&quot;
5. Choose &quot;Copy&quot;
6. See the &quot;Successfully sent share&quot; copy applied.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1902568</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2022-09-30 18:12:01 -0700</bug_when>
    <thetext>

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

    </bug>

</bugzilla>