Bug 245854 - navigator.share never returns its promise when "Save Image" selected.
Summary: navigator.share never returns its promise when "Save Image" selected.
Status: RESOLVED DUPLICATE of bug 231995
Alias: None
Product: WebKit
Classification: Unclassified
Component: Images (show other bugs)
Version: Safari 16
Hardware: iPhone / iPad iOS 16
: P2 Critical
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-29 16:08 PDT by Westbrook
Modified: 2022-09-30 18:12 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Westbrook 2022-09-29 16:08:03 PDT
When using `navigator.share()` if the visitor selects "Save Image" 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. "Choose Files" so that at least one image is in the UI
4. Click "Share"
5. Choose "Save Image"
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. "Choose Files" so that at least one image is in the UI
4. Click "Share"
5. Choose "Copy"
6. See the "Successfully sent share" copy applied.
Comment 1 Tim Horton 2022-09-30 18:12:01 PDT

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