gecko-dev/dom/storage
Tom Tung 80a5716001 Bug 1656768 - Propagate SessionStorage data in BackgroundSessionStorageManager to the new top browsing context while replacing the top context id; r=nika,dom-workers-and-storage-reviewers,asuth
### Story

While the exisiting top browsing context is replaced, SessionStorage relies on
itself been propagated by SessionStore. However, this has been disabled in
SessionHistory in the parent process.

Therefore, we need to propagate SessionStorage data by propagating
BackgroundSessionStorageManager.

### Notes

This patch assumes that the target top-level browsing context shouldn't have
been registered to BackgroundSessionStorageManager. If this can happen, we will
either need to merge SessionStorage data into it or find a proper (earlier)
place to update sManagers.

### Test Plan

Test: D97763
Try: https://treeherder.mozilla.org/jobs?repo=try&revision=2acc7b393fb80b640f4fbe3ade1da7dd440c380e&selectedTaskRun=KK6XhR-sQuqv5lcntVLc2w.0

Differential Revision: https://phabricator.services.mozilla.com/D98082
2020-12-03 14:19:35 +00:00
..
LocalStorage.cpp
LocalStorage.h Bug 1669437 - Get rid of the private data set; r=asuth,dom-workers-and-storage-reviewers 2020-11-11 07:06:20 +00:00
LocalStorageCache.cpp Bug 1676411 - Fix usage calculation for file:// (and potentially other) URIs; r=asuth,dom-workers-and-storage-reviewers 2020-11-13 19:51:08 +00:00
LocalStorageCache.h Bug 1669437 - Add necessary infrastructure for independent in-memory only local storage database; r=asuth,dom-workers-and-storage-reviewers 2020-11-11 13:12:57 +00:00
LocalStorageManager.cpp Bug 1676411 - Fix usage calculation for file:// (and potentially other) URIs; r=asuth,dom-workers-and-storage-reviewers 2020-11-13 19:51:08 +00:00
LocalStorageManager.h Bug 1676411 - Fix usage calculation for file:// (and potentially other) URIs; r=asuth,dom-workers-and-storage-reviewers 2020-11-13 19:51:08 +00:00
PBackgroundLocalStorageCache.ipdl
PBackgroundSessionStorageCache.ipdl
PBackgroundSessionStorageManager.ipdl
PBackgroundStorage.ipdl
PSessionStorageObserver.ipdl
PartitionedLocalStorage.cpp
PartitionedLocalStorage.h
SessionStorage.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
SessionStorage.h
SessionStorageCache.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
SessionStorageCache.h
SessionStorageManager.cpp Bug 1656768 - Propagate SessionStorage data in BackgroundSessionStorageManager to the new top browsing context while replacing the top context id; r=nika,dom-workers-and-storage-reviewers,asuth 2020-12-03 14:19:35 +00:00
SessionStorageManager.h Bug 1656768 - Propagate SessionStorage data in BackgroundSessionStorageManager to the new top browsing context while replacing the top context id; r=nika,dom-workers-and-storage-reviewers,asuth 2020-12-03 14:19:35 +00:00
SessionStorageObserver.cpp
SessionStorageObserver.h
Storage.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
Storage.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
StorageActivityService.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
StorageActivityService.h
StorageDBThread.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
StorageDBThread.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
StorageDBUpdater.cpp
StorageDBUpdater.h
StorageIPC.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
StorageIPC.h Bug 1669437 - Add necessary infrastructure for independent in-memory only local storage database; r=asuth,dom-workers-and-storage-reviewers 2020-11-11 13:12:57 +00:00
StorageNotifierService.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
StorageNotifierService.h
StorageObserver.cpp Bug 1676365 - Move SpinEventLoopUntil to separate header. r=#xpcom-reviewers 2020-11-23 16:10:41 +00:00
StorageObserver.h Bug 1669437 - Add necessary infrastructure for independent in-memory only local storage database; r=asuth,dom-workers-and-storage-reviewers 2020-11-11 13:12:57 +00:00
StorageUtils.cpp
StorageUtils.h
moz.build