Private Browser session leaks notification settings
Categories
(Core :: DOM: Push Subscriptions, defect)
Tracking
()
People
(Reporter: benjamin, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0
Steps to reproduce:
- Open a Private Window, CTRL+SHIFT+P
- Navigate to a website with web push notifications, for instance reddit.com
- Allow notifications
- Close the session.
Actual results:
Go to your settings and see that the notifications are still subscribed to. Alternatively, wait for a notification from [Website] to show up - it will!
Expected results:
One should not be able to subscribe to any kind of permanent website permissions setting in a Private Session.
Location settings do NOT behave this way, I can allow a website access to location data, but after closing the session, the permission is correctly gone.
Hello!
I have been trying to replicate this Using Firefox 66.0.3 (64bit) on Ubuntu.
- With a brand new profile i had only 1 window in private browsing as you mentioned.
- Then i went to www.reddit.com and sign in.
- Before entering username and password i was given the option to allow notifications so i set it as yes.
- Then i went to Preferences> Privacy & Security > Notifications > settings > and i do see reddit.com listed
- Then i closed the browser window and launched it again normal + also in private.
- after that when i go to Preferences> Privacy & Security > Notifications > settings > (i don´t see reddit anymore)
regards.
| Reporter | ||
Comment 2•7 years ago
|
||
Oh interesting Pablo, I hadn't tried to restart Firefox. Thanks for triaging. I can confirm that it disappears after a restart.
But I think it's still a bug.
I think it's normal to have a Firefox session open for weeks, so this would still cause a leak. It also raises other odd questions, like will it then be restored upon a crash or an update?
Comment 4•7 years ago
•
|
||
This is a known issue, there are two problems here:
- We are dropping origin attributes in the permission manager (bug 1422056)
- AFAIK all private browsing sessions use the same private browsing id
Duping to bug 1422056, since that is probably going to make the biggest difference.
Description
•