Closed Bug 1544466 Opened 5 years ago Closed 5 years ago

Local Storage is lost in new tabs

Categories

(Core :: Storage: localStorage & sessionStorage, defect)

66 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1453699
Tracking Status
firefox-esr60 --- unaffected
firefox66 --- affected
firefox67 --- affected
firefox68 --- ?

People

(Reporter: l.dobrev, Unassigned)

References

Details

Attachments

(1 file)

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

Steps to reproduce:

Select 'Delete cookies and site data when Firefox is closed' option in 'Privacy & Security' in 'Preferences'.

Open page/site that uses cookies and localStorage. The page must be served via HTTPS protocol.

A. Duplicate Tab
or
B. Open New Tab, navigate to the same page

Actual results:

Contents of 'document.cookie' are retained.
Contents of 'window.localStorage' are lost.

Expected results:

Contents of 'document.cookie' are retained.
Contents of 'window.localStorage' are retained.

I can reproduce the issue on Firefox67 beta.
But, I cannot reproduce on Nigtly68.
This seems have already been fixed in Nightly68.

Component: Untriaged → DOM: Web Storage
Product: Firefox → Core
Status: UNCONFIRMED → NEW
Has STR: --- → yes
Depends on: 1517090
Ever confirmed: true
Depends on: 1286798
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: