[Webkit-unassigned] [Bug 214448] Web Share permission policy "web-share" and "self" as the allowlist

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 2 21:43:10 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=214448

--- Comment #11 from Devin Rousso <drousso at apple.com> ---
(In reply to Marcos Caceres from comment #8)
> (In reply to Devin Rousso from comment #7) 
> > > As a followup, I wonder if we should do the same check in .share() and reject with something? The spec doesn't currently to cover this (or maybe this should change to be a "fully active" check?).
> > 
> > `share()` calls `canShare()`, so it should already be checked :)
> 
> Indeed. Just checked, and all browsers do different things here tho: 
> 
>  * WebKit -> TypeError
>  * Firefox -> Internal "UNEXPECTED_ERROR"
>  * Chrome -> NotAllowedError
> 
> https://marcoscaceres.github.io/playground/share-parent.html

Interesting.  `TypeError` feels kinda wrong to me.  Maybe it should be `InvalidStateError`?  ��

-- 
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/20210903/8791c49e/attachment.htm>


More information about the webkit-unassigned mailing list