brief-rss / brief

RSS reader extension for Firefox
Other
214 stars 44 forks source link

[Firefox 128] Clearing private data causes Brief to reask for permission to use persistent storage. #549

Closed Ngamer01 closed 4 months ago

Ngamer01 commented 4 months ago

I'm on Firefox 128 on Windows 10. When one clears their private data (or just cookies and site data) in the revamped "clear recent history" section, Firefox will delete Brief's permission to use persistent storage causing Brief to reask for permission. This never happened prior to Firefox 128 as you could freely clear private data and Brief remembered its persistent storage permission every time pre-128.

If this is something not fixable on Brief's end, I am open to workarounds if anyone knows of any. I'd just like to stop being asked to use persistent storage in Brief after clearing private data.

Firefox used to be set to "always allowed" for persistent storage on Brief, but 128 makes it default to "always ask" following private data clearing. Here's an image of Brief's permissions on its custom webpage.

image

tanriol commented 4 months ago

Hm, that's interesting... this was the case since at least Firefox 60, but then it was triggered by the "site settings" checkmark. The new clear history dialog has moved it to the "cookies and site data group" that's active by default and that users likely mean to use.

I've reported this issue as mozilla bug 1907732.

tanriol commented 4 months ago

Looks like the storage actually stays persistent, so this could be worked around by checking navigator.storage.persisted() before calling persist().