by megous · 6y ago · 0 comments
This will just not work anymore. I'll have to add some long winded FF specific explanation on what to do after clicking the button.
Anyway the FF UI is broken if user physically can't see any reaction from the browser after he requests notifications by clicking anywhere on the page.
https://hacks.mozilla.org/2019/11/upcoming-notification-perm...
This is a frequent "mistake"/issue however, and we're working on a mitigation for it.
https://megous.com/dl/tmp/sub.txt
I guess this is then happening because I'm first checking if there's a subscription via `pushManager.getSubscription` before creating a new one in the event handler.
Yep, dropping getSubscription makes the popup appear again.