Bug 243652 - Navigator.share() rejects with wrong exception when called multiple times
Summary: Navigator.share() rejects with wrong exception when called multiple times
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Marcos Caceres
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-08-07 23:45 PDT by Marcos Caceres
Modified: 2022-08-15 01:00 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos Caceres 2022-08-07 23:45:25 PDT
A Web Share related web platform test is failing because WebKit is returning NotAllowedError instead of InvalidStateError DOM Exception. 

https://wpt.fyi/results/web-share/share-sharePromise-internal-slot.https.html?label=master&label=experimental&aligned
Comment 1 Marcos Caceres 2022-08-08 21:06:52 PDT
Pull request: https://github.com/WebKit/WebKit/pull/3137
Comment 2 Radar WebKit Bug Importer 2022-08-14 23:46:15 PDT
<rdar://problem/98656307>
Comment 3 EWS 2022-08-15 01:00:29 PDT
Committed 253419@main (7654da12692d): <https://commits.webkit.org/253419@main>

Reviewed commits have been landed. Closing PR #3137 and removing active labels.