Closed Bug 1710004 Opened 4 years ago Closed 3 years ago

Make Session Restore restore SessionStorage entirely from the parent

Categories

(Firefox :: Session Restore, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
91 Branch
Fission Milestone M8
Tracking Status
firefox91 --- fixed

People

(Reporter: farre, Assigned: farre)

References

(Blocks 1 open bug)

Details

Attachments

(3 files, 1 obsolete file)

The idea is to send a message over PBackground to the restored browsing contexts storage cache in BackgroundSessionStorageManager containing the data to restore.

Assignee: nobody → afarre
Fission Milestone: --- → M8
Priority: -- → P3
Status: NEW → ASSIGNED
Blocks: 1711886
Attachment #9223580 - Attachment description: WIP: Bug 1710004 - Restore session storage from the parent process. → Bug 1710004 - Make it possible to pre load data into BackgroundSessionStorageManager. r=asuth

Session Storage used to share implementation with Local Storage, where
a distinction of a default data set from a session data set made
sense. In Session Storage all data is actually scoped by the
session. Since Bug 1322316 Session Storage no longer share
implementation with Local Storage, which makes it safe to collapse the
datasets in Session Storage to one dataset, which makes life easier,
especially for Session (Re-)Store.

Session Storage used to share implementation with Local Storage, where
a distinction of a default data set from a session data set made
sense. In Session Storage all data is actually scoped by the
session. Since Bug 1322316 Session Storage no longer share
implementation with Local Storage, which makes it safe to collapse the
datasets in Session Storage to one dataset, which makes life easier,
especially for Session (Re-)Store.

Attachment #9223580 - Attachment description: Bug 1710004 - Make it possible to pre load data into BackgroundSessionStorageManager. r=asuth → Bug 1710004 - Part 2: Make it possible to pre load data into BackgroundSessionStorageManager. r=asuth
Blocks: 1634734
Attachment #9223959 - Attachment description: Bug 1710004 - Restore session storage from the parent process. r=kashav! → Bug 1710004 - Part 3: Restore session storage from the parent process. r=kashav!
Attachment #9224717 - Attachment is obsolete: true
Pushed by afarre@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0156e041b8fa Part 1: Remove dataset concept from Session Storage. r=asuth https://hg.mozilla.org/integration/autoland/rev/1e74ae4fa0a5 Part 2: Make it possible to pre load data into BackgroundSessionStorageManager. r=asuth https://hg.mozilla.org/integration/autoland/rev/42c6a18a9e4e Part 3: Restore session storage from the parent process. r=kashav,asuth
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: