Closed Bug 1891398 Opened 11 months ago Closed 11 months ago

Starting a private window from windowless state restores the last closed tab

Categories

(Firefox :: Session Restore, defect, P2)

Firefox 124
defect

Tracking

()

RESOLVED DUPLICATE of bug 1877604

People

(Reporter: 7dare, Unassigned)

References

Details

(Whiteboard: [fidefe-session-restore])

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0

Steps to reproduce:

Ensure the option to restore previous tabs on startup is turned off.

Start a window, browse to some address, close it using Ctrl+W (closing Firefox entirely).

Next, run "firefox --private-window" to start only a private window, browse to some address.

Finally, press Ctrl+N to start a new non-private window.

Actual results:

The new non-private window will contain as a first tab whichever tab you closed last.

The tab is an "unloaded" state, i.e. it will only load the webpage if you navigate to it.

Expected results:

This behavior is unexpected, undocumented, and undesired (potential privacy issue if the user deleted said tab from history).

The Bugbug bot thinks this bug should belong to the 'Firefox::Private Browsing' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Private Browsing
Component: Private Browsing → Session Restore

I was able to reproduce this, thanks for the detailed steps.

Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Whiteboard: [fidefe-session-restore]

This can additionally be reproduced when several tabs are open in the non-private window, and it will still restore them even if you delete the pages from history (by doing Ctrl+H then right-clicking their entries and deleting them).

This seems like a big privacy concern, users asking for the state of the browser being forgotten don't expect this behavior from the browser.

Priority: P3 → P2

This looks like a duplicate of bug 1877604 to me.

This is indeed a duplicate, my bad.

Status: NEW → RESOLVED
Closed: 11 months ago
Duplicate of bug: 1877604
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.