News for hackers. Stuff that matters.
Re:Firefox 72.0 by johannh on Tuesday January 07, 2020 @11:25AM (#21981423)
If your users are clicking a button then it should actually show the permission prompt, unless you're losing the user interaction somewhere in the callback (by doing something async first)

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.

Re:Firefox 72.0 by megous on Tuesday January 07, 2020 @11:52AM (#21981732)
I'm doing this:

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.