On MacOS, the title (i.e., from the <title> element) from the last opened browser tab in a private window is stored on exit in the windows.plist file, even when settings are set to clear all browsing data on exit. The full path of the windows.plist file is /Users/:username:/Library/Saved Application/State/com.brave.Browser.savedState/windows.plist. The last window title is stored in the NSTitle key.
*How can this issue be reproduced?
Go to brave://settings/clearBrowserData, click on “Clear browsing data,” click on “On exit,” check all of the options, and click Save.
@jstafman please accept my apologies for this issue. Please do the following to see if the issue gets solved, go to Settings → Privacy and Security → Clear Browsing History → On exit → Browsing history.
@Kevin_cc - Thanks for the quick response. As you can see, your suggestion was included in Step 1 of my reproducible procedures, so unfortunately, is not a solution. If you have a Mac, do you see the same results on your machine?
Quick follow-up: I did some looking around and found this Velociraptor link that appears to have relevant information and reference links. It seems like this issue has something to do with saving the application state so that windows can be restored when an app is reopened.
Here is one of the additional reference links that has more details:
Interestingly enough, I’m unable to reproduce this error. For me, I do see the NSTitle value set as the last site that I visited, but only for the standard browsing window I had open. Here are the steps I took to reproduce, please tell me if I should change any of them to get the issue to occur:
Opened Brave (stable, v1.46.144) — Netflix show I was watching was streaming
This is very strange. I checked again and I’m definitely seeing it still occur on my end. Would you mind trying one more time, but try closing the original window before opening the private window (i.e., flipping steps 2 and 3)?
Also, what version of macOS are you using? I’m using Ventura 13.1. If we’re using different versions, there’s a chance that might be the explanation.