#3507 (The Notification permission may only be requested from inside a short running user-generated event handler.)
by tonis · in Developers
Résumé
Seems that the convention for asking notifiation perms isn't what we're doing. I guess because the asking for perms is too deep in the WS event handeling...
"The Notification permission may only be requested from inside a short running user-generated event handler."
Should look if there's a simple convention to ask for this, like off a on focus event on the page or something...
Concepts sous-jacents
Commentaires
- 3 ans, 7 mois ago by Luc Saffre about #3507 (The Notification permission may only be requested from inside a short running user-generated event handler.) : I put this to sleep after reading [url developer.mozilla.org/en-US/docs/Web/API/Notification/permission this].