brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.83k stars 2.33k forks source link

Brave forgets WebApp cookie delete exception entries, whitelist does not work either way #24460

Open ghost opened 2 years ago

ghost commented 2 years ago

Description

I have been trying to use a WebApp that uses cookies to store authentication data. I have tried to set up Brave to delete Cookies and other Site data on every domain except the domain of the WebApp. There are currently two ways to delete cookies on exit for some reason. 1: Privacy and security > Clear browsing data > On exit > Cookies and other site data, 2: Privacy and security > Cookies and other site data > Clear cookies and site data when you close all windows. When either of these is enabled the WebApp does not retain cookies. I do not know the difference between the two, what "on exit" and "close all windows" have in common. I know however that it does not matter if I enable or disable either of those or both, Brave does not remember Sites that can always use cookies entries, I cannot make a whitelist.

Note: I have installed Brave from Flathub, and followed the https://www.privacyguides.org/desktop-browsers/#brave hardening guide.

Steps to Reproduce

  1. Click Add to entry Sites that can always use cookies
  2. Enter WebApp domain (i.e: "google.com"), click Add again
  3. Exit both WebApp and Brave (does not happen when either of those are open)
  4. Entry disappears

Actual result:

Entry does not stay.

Expected result:

Entry stays, at minimum when the two cookie wiping settings are disables, but preferably when the two are enabled too. When said settings are enabled, and there is a whitelist to a domain, the domain can retain cookies.

Reproduces how often:

For me, every time.

Brave version (info found on brave://version)

1.42.86 Chromium: 104.0.5112.81 (Official Build) unknown (64-bit) 5b7b76419d50f583022568b6764b630f6ddc9208-refs/branch-heads/5112@{#1309} Linux

Version/Channel Information:

Other Additional Information:

Miscellaneous Information:

ghost commented 2 years ago

Installed brave regularly without flatpak, same problem.

serranomorante commented 1 year ago

Same exact problem here on windows with the official Brave installer

bleriotx commented 1 year ago

This is also a problem on Ubuntu 20.04 running Brave Version 1.49.132 Chromium: 111.0.5563.147 (Official Build) (64-bit)