[Webkit-unassigned] [Bug 196294] Many bugs introduced in Safari push notifications

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 27 10:21:21 PDT 2019


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

--- Comment #2 from collimarco91 at gmail.com ---
My request is to revert this changes completely. However if you really want to keep something, at least make it compatible with the existing websites and SDKs. In particular:

1. DO NOT RAISE AN EXCEPTION when you need to display the prompt on page load. Instead of raising the exception you can simply minify the prompt: for example you can display a notification icon in the address bar that the user can click in order to allow notifications (as discussed here: https://discourse.wicg.io/t/require-user-gesture-for-notification-permission-request/2366/6)

2. DO NOT RAISE AN EXCEPTION if you call window.safari.pushNotification.requestPermission() and the permission is already GRANTED. It doesn't make sense to break this call now (v12.1), since it doesn't even show a prompt to the user.

-- 
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/20190327/c9bfbe09/attachment.html>


More information about the webkit-unassigned mailing list