[META]Persist SessionStorage like LocalStorage by default
Categories
(Core :: Storage: localStorage & sessionStorage, enhancement, P2)
Tracking
()
People
(Reporter: nika, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Keywords: meta)
Reporter | ||
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
Comment 3•6 years ago
|
||
Reporter | ||
Comment 4•6 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
(In reply to :Nika Layzell (ni? for response) from comment #4)
(In reply to Jan Varga [:janv] from comment #3)
Do we need to keep multiple versions of SessionStorage data for the same
origin ?No, we should not need to do this. SessionStorage is stored separately from
history entries. Currently it looks something like:"https://www.messenger.com^userContextId=6": { "sp_pi": "..." }
and instead we would just store a single ID for the entries which we'd use
to look up from SessionStorage when restoring.We'd also probably have some sort of cleanup system where we'd request a
list of all SessionStorage IDs and would choose to either retain or discard
each set.
Please, check bug 1298912, and bug 1470692 for reference.
It should be possible to recover one of multiple recent sessions. The main reason is that now it is not possible sometimes to recover the last session correctly.
Please, also check bug 1528598 (comments 1-6), bug 1524948 (comments 1-6), bug 1528604 (comments 1-6), and bug 1427928 (comments 60-62) for reference.
Firefox/session managers should be allowed to manage multiple sessions at the same time.
Comment 7•6 years ago
|
||
I was referring to SessionStorage not SessionStore/SessionRestore.
Reporter | ||
Comment 8•6 years ago
|
||
This bug is related specifically to SessionStorage, not to the confusingly-similarly-named SessionStore/SessionRestore.
Comment 9•5 years ago
|
||
SessionStorage persisted like LocalStorage needs support for having multiple origin directories for the same origin. QuotaManager storage v2 would provide that.
Comment 10•5 years ago
|
||
:janv, I assume, this will cause more work than the currently linked dependencies. Can we scope this better and add the bugs we need here?
Comment 11•5 years ago
|
||
At this stage, this mostly depends on enabling LSNG on Release and on QM v4 which will support multiple directories on disk for the same origin (required for this bug and QM v4 is being designed in a way to be easilly usable by SSNG as well).
We will add more bugs here once we get closer to actual implementation of SSNG.
Comment 12•5 years ago
|
||
I remove the block for fission, since SessionStorage has already supported fission now.
I would like to use this bug for tracking the SessionStorage new generation (SSNG) implementation which based on LocalStorage new generation(SSNG).
Updated•2 years ago
|
Description
•