[Webkit-unassigned] [Bug 244408] navigator.canShare(data) returns true but navigator.share(data) results in Unhandled Promise Rejection when data contains both image and text field.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Aug 28 18:07:21 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=244408
Marcos Caceres <marcosc at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marcosc at apple.com
--- Comment #1 from Marcos Caceres <marcosc at apple.com> ---
I'll try to reproduce, but there are a few things that can cause canShare() to return true, but still result in a NotAllowedError:
1. .share() called multiple times before the first call's promise settles.
2. .share() is not initiated by user activation (or, more unlikely, there is no Window object).
3. Permissions policy violation, but this produces a different error string so we can rule this out.
--
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/20220829/835b7d86/attachment.htm>
More information about the webkit-unassigned
mailing list