Closed Bug 1757372 Opened 2 years ago Closed 2 years ago

Add a dedicated service for sessionStorage

Categories

(Core :: Storage: localStorage & sessionStorage, task, P2)

task

Tracking

()

RESOLVED FIXED
100 Branch
Tracking Status
firefox100 --- fixed

People

(Reporter: janv, Assigned: janv)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

All the communication which is required for clearing sessionStorage data in the main process and content processes is now done using StorageObserver, StorageObserverSink and PSessionStorageObserver. There's only one IPC message:

Observe(nsCString topic,
        nsString originAttributesPattern,
        nsCString originScope

This is not very flexible as we found out in bug 1688665. It would be better to have a dedicated service with individual methods for specific clearing scenarios. This bug is about adding basic infrastructure for that using latest patterns for services like this.

Pushed by jvarga@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/64ecb728ceeb
Add a dedicated service for sessionStorage; r=dom-storage-reviewers,jari
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
You need to log in before you can comment on or make changes to this bug.