WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 216913
218156
REGRESSION(iOS 14): Webshare API only works once - Promise never resolved/rejected
https://bugs.webkit.org/show_bug.cgi?id=218156
Summary
REGRESSION(iOS 14): Webshare API only works once - Promise never resolved/rej...
Hanz Luo
Reported
2020-10-24 21:53:26 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-10-25 12:02:36 PDT
<
rdar://problem/70662025
>
Tim Horton
Comment 2
2020-10-25 13:26:58 PDT
*** This bug has been marked as a duplicate of
bug 216913
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug