[Webkit-unassigned] [Bug 247315] `'Notification' in window` returns false
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 23 15:54:57 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=247315
Brady Eidson <beidson at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WONTFIX
Status|NEW |RESOLVED
--- Comment #7 from Brady Eidson <beidson at apple.com> ---
(In reply to N from comment #5)
> Thanks Brady.
>
> Could you please indicate where can I report this and get answers about this?
>
> This looks like a significant hole on the implementation of Web Push, as we
> need to know the value of `Notification.permission` to be able to optimize
> the user's experience on the website.
>
> (and avoid annoying the user, or provide the user with instructions to
> unblock the notifications if they are trying to turn these on again, etc)
Can you use navigator.permissions for that?
There's a code snippet here:
https://webkit.org/blog/14112/badging-for-home-screen-web-apps/
--
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/20230523/58de2c3d/attachment.htm>
More information about the webkit-unassigned
mailing list