Kathy and I did some triage of this ticket because we thought it might be a macOS-only bug, but that is probably not true. It seems to be related to first party isolation of permissions. Using the following page for testing, notifications started to work after I changed privacy.firstparty.isolate to false:
https://developer.mozilla.org/en-US/docs/Web/API/notification
On that page, grant permission for notifications when prompted and then click the "Notify me!" button.
after successfully logging in, the Tor Browser asks "Will you allow protonirockerxow.onion to send notifications", click "Allow Notifications".
Expected result: every time I receive an email, I should get a notification (via libnotify or something like this) that looks just like any other KDE desktop notification.
Instead of this expected result, I get no notification at all.
Arthur, can you pick that up? I think it could be relevant to upstreaming the permissions patch you are working on.
I just tested notifications with TBB 8.5a4 and First Party Isolation enabled, and notifications did not work.
I don't know how different TBB alpha and TBB nightly currently are though, so I don't know if this bit of information helps.
Trac: Username: nsIContentPermissionRequest Summary: growl a-like browser notifications are not working anymore on macOS with Tor Browser 8 to browser notifications are not working anymore with Tor Browser 8