mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 820658 - Private Browsing leaks history in SQLite's Write-Ahead Log for tabs.db r=bnicholson
This commit is contained in:
parent
cbcd03fffa
commit
58e59c52b0
@ -190,9 +190,9 @@ public final class TabsAccessor {
|
||||
|
||||
int position = 0;
|
||||
for (Tab tab : tabs) {
|
||||
// Skip this tab if it has a null URL.
|
||||
// Skip this tab if it has a null URL or is in private browsing mode
|
||||
String url = tab.getURL();
|
||||
if (url == null)
|
||||
if (url == null || tab.isPrivate())
|
||||
continue;
|
||||
|
||||
ContentValues values = new ContentValues();
|
||||
|
Loading…
Reference in New Issue
Block a user