Open Bug 1680324 Opened 5 years ago Updated 4 years ago

Adding a cookie exception for https://www.youtube.com still clears cookies for .youtube.com

Categories

(Toolkit :: Data Sanitization, defect, P3)

Firefox 83
defect

Tracking

()

People

(Reporter: mike, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0

Steps to reproduce:

Firefox options>Privacy and Security>Cookies and Site data>Manage Exceptions

Actual results:

I can save the site data for the url https://www.youtube.com, but I have to log in after closing and reopening Firefox.

Expected results:

Should have kept me logged in to the YouTube site after re opening the browser.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Preferences

comment #0 is not explicit about it, but I assume you have cookies and site data set to clear when closing Firefox?

If so, I expect it's not working because youtube login state relies on https://accounts.google.com. You would need to make an exception for that site, too. Does adding that help?

Component: Preferences → Data Sanitization
Flags: needinfo?(mike)
Product: Firefox → Toolkit

Yes that helps. When I close Firefox and re-open, the YouTube site is still signed out. However, when I click sign in it does so without my having to type my user name and password. So, it looks like we are half way there.

Mike

Flags: needinfo?(mike)

Hmm that seems weird since the relevant cookies should be on .youtube.com and that shouldn't get cleared when you have added https://www.youtube.com to the list. Can you try adding https://youtube.com? Don't forget that you need to press "Save Changes" in the dialog.

Flags: needinfo?(mike)

That worked perfectly!

Flags: needinfo?(mike)

Thank you for looking into this issue.

Mike

Thanks! I guess this is similar to bug 1629667 but not quite. It's probably a matter of how we define these exceptions, mostly..

Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
See Also: → 1629667
Summary: unable to add site data exception successfully for this link https://www.youtube.com → Adding a cookie exception for https://www.youtube.com still clears cookies for .youtube.com
Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.