Bug 201627 - Multiple simultaneous share() calls cause rejection
Summary: Multiple simultaneous share() calls cause rejection
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-09-09 20:05 PDT by Marcos Caceres
Modified: 2021-08-17 23:35 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos Caceres 2019-09-09 20:05:54 PDT
We've updated the spec so that only one share() can occur at the same time:
https://github.com/w3c/web-share/pull/113

Right now, if two calls to .share() are made in Safari, both shares reject. 

We've added a Web Platform Test also:
https://github.com/web-platform-tests/wpt/pull/18486
Comment 1 Radar WebKit Bug Importer 2019-09-10 10:34:28 PDT
<rdar://problem/55227424>
Comment 2 Marcos Caceres 2021-08-17 23:35:37 PDT
Looks like this got fixed by: 
https://bugs.webkit.org/show_bug.cgi?id=229132

It checks m_hasPendingShare.