Browser Data not clearing upon unexpected exit

Description of the issue:
When using the settings to clear various browsing data when Brave is exited, system shutdowns and task manager closures of the browser do not count as “exiting”, therefore the data is still present when launched once again.

How can this issue be reproduced?

  1. Set browser to clear data upon exit
  2. Open Brave and use as intended (login to sites, browse etc.)
  3. When Brave is closed by Task Manager or system shut-off, browser data, login info, and other to-be-deleted info remains stored in browser.
    Note that the data IS removed when Brave is shut down in a normal fashion.

Expected result:
Login info, history, cookies and such SHOULD be removed when exiting Brave in ANY fashion, not just using the ‘X’ button.
Brave Version( check About Brave):
Brave 1.43.93, Chromium 105.0.5195.257
Additional Information:
This issue poses a minor security risk to users, and is a mild annoyance to those who want all browser data cleared upon system shutoff. If Brave cannot delete this data in all cases of browser shutoff, that fact should be disclosed when using the setting in the first place.

If the browser is terminated unexpectedly, it doesn’t have a chance to wipe-out any of the temporal session data that was built-up during its use. Clearing on Exit is a feature of the browser, one that cannot be used if the app is closed via Task Manager.

I do appreciate the suggestion, however. In order to fully achieve the type of behavior you’re suggesting, as far as I know, would be to shift all working data into memory when this feature is enabled. That would very heavily increase the browser’s load on the OS in terms of resources used.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.