[Webkit-unassigned] [Bug 218156] New: iOS 14 Webshare API Broken - Promise never resolved/rejected
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Oct 24 21:53:26 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=218156
Bug ID: 218156
Summary: iOS 14 Webshare API Broken - Promise never
resolved/rejected
Product: WebKit
Version: Safari 14
Hardware: iPhone / iPad
OS: Other
Status: NEW
Severity: Major
Priority: P2
Component: WebKit API
Assignee: webkit-unassigned at lists.webkit.org
Reporter: lhz0516 at gmail.com
On iOS 14 devices (test with iOS 14.0 and 14.1 / Safari) it works fine only once. For the second time it throws a permission error:
Error: NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.
Here are all the steps to reproduce:
1. Go to https://mdn.github.io/dom-examples/web-share/
2. Click the "Share MDN!" button
3. Choose one of the suggested options or just click X to close the sharing popover
4. Click on the "Share MDN!" button again
5. See the error
We see the error because the previous sharing promise never gets resolved or rejected.
iOS 13 doesn't have the issue. Only iOS 14 has it.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201025/1ccd37e9/attachment-0001.htm>
More information about the webkit-unassigned
mailing list