Bug 245854
| Summary: | navigator.share never returns its promise when "Save Image" selected. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Westbrook <westbrook.johnson> |
| Component: | Images | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Critical | CC: | sabouhallawa, thorton |
| Priority: | P2 | ||
| Version: | Safari 16 | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 16 | ||
Westbrook
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Tim Horton
*** This bug has been marked as a duplicate of bug 231995 ***