Closed Bug 1907252 Opened 1 year ago Closed 1 year ago

Sessions don't get terminated after exiting when StartPage is set to previous-session in policies.json

Categories

(Firefox :: Session Restore, enhancement)

enhancement

Tracking

()

RESOLVED INVALID

People

(Reporter: steffen.gerhard98, Unassigned)

Details

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

Steps to reproduce:

In policies.json, I set StartPage to previous-session in the HomePage-section.
After logging in to any website that normally logs you out after exiting the browser, closing the browser and open it again, I was still logged in. I tested it on gmx.net.
Tested in Firefox ESR 115.12.0esr (64-Bit) on Linux.
The section in policies.json:
"Homepage": {
"Locked": false,
"StartPage": "previous-session"
},

Actual results:

I logged into a website, that normally logs me out when exiting the browser. In this case I tested it on gmx.net.
After exiting and re-openig the browser I still was logged in.

This problem doesn't occur when selecting the corresponding checkbox in firefox settings.

Expected results:

I should have to log in again, my session should be gone.

I have to correct myself:
The problem occurs after selecting the corresponding checkbox in firefox settings too!

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

Component: Untriaged → Session Restore

The severity field is not set for this bug.
:sclements, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(sclements)

Reproduced this issue with Firefox 115.12.0esr and Firefox 129.0b6, if the developers decide that, what the reporter expected is correct, it can be an enhancement. I will set this to enhancement request as "NEW" to allow the engineering team to consider whether they will implement the suggested change or not.

Status: UNCONFIRMED → NEW
Type: defect → enhancement
Ever confirmed: true

Thanks for filing the bug. This is actually the intended behavior of session restore. Your tabs, their history and the session cookies associated with those sites are restored.

Status: NEW → RESOLVED
Closed: 1 year ago
Flags: needinfo?(sclements)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.