gecko-dev/dom/storage
Yaron Tausky 877a273a69 Bug 1603976 - Warn when getting session storage data for discarded browsing context r=dom-workers-and-storage-reviewers,sg,janv
Under some (yet) unclear conditions it's possible for a content
process to send session storage data for a browsing context that's
already been discarded. This leads to an assertion failure when
deserializing the IPC message. This commit works around this issue
by sending the browsing context's ID over IPC and issuing a warning
instead of asserting that the browsing context still exists.

Differential Revision: https://phabricator.services.mozilla.com/D59096

--HG--
extra : moz-landing-system : lando
2020-01-08 15:38:34 +00:00
..
LocalStorage.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
LocalStorage.h Bug 1551055 - StoragePrincipal should be supported by localStorage - part 1, r=asuth 2019-05-14 05:49:46 +00:00
LocalStorageCache.cpp
LocalStorageCache.h Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
LocalStorageManager.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
LocalStorageManager.h Bug 1551055 - StoragePrincipal should be supported by localStorage - part 1, r=asuth 2019-05-14 05:49:46 +00:00
PBackgroundLocalStorageCache.ipdl Bug 1556812 - Only notify same-origin actors in LocalStorageCacheParent::RecvNotify(); r=baku 2019-06-07 15:09:21 +00:00
PBackgroundStorage.ipdl
PSessionStorageObserver.ipdl
PartitionedLocalStorage.cpp Bug 1558420 - Part 1: Add an API for creating a sessionstorage manager and a cache object; r=baku 2019-11-12 15:40:02 +00:00
PartitionedLocalStorage.h Bug 1558420 - Part 1: Add an API for creating a sessionstorage manager and a cache object; r=baku 2019-11-12 15:40:02 +00:00
SessionStorage.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
SessionStorage.h Bug 1556859 - Remove SessionStorage::Clone(); r=baku 2019-06-04 21:09:03 +00:00
SessionStorageCache.cpp Bug 1593246 - Part 5: Replicate session storage data r=janv,asuth 2019-12-13 09:45:55 +00:00
SessionStorageCache.h Bug 1593246 - Part 5: Replicate session storage data r=janv,asuth 2019-12-13 09:45:55 +00:00
SessionStorageManager.cpp Bug 1603976 - Warn when getting session storage data for discarded browsing context r=dom-workers-and-storage-reviewers,sg,janv 2020-01-08 15:38:34 +00:00
SessionStorageManager.h Bug 1593246 - Part 5: Replicate session storage data r=janv,asuth 2019-12-13 09:45:55 +00:00
SessionStorageObserver.cpp
SessionStorageObserver.h
SessionStorageService.cpp Bug 1593246 - Part 5: Replicate session storage data r=janv,asuth 2019-12-13 09:45:55 +00:00
SessionStorageService.h Bug 1593246 - Part 5: Replicate session storage data r=janv,asuth 2019-12-13 09:45:55 +00:00
Storage.cpp Bug 1517588. Use nsIPrincipal::IsSystemPrincipal instead of nsContentUtils::IsSystemPrincipal r=bzbarsky 2019-12-05 04:44:32 +00:00
Storage.h Bug 1556217 - LSNG: Add a test for large items; r=asuth, smaug 2019-06-02 08:00:25 +02:00
StorageActivityService.cpp Bug 1582196 part 4. Get rid of NS_ERROR_RANGE_ERR. r=peterv 2019-09-23 19:14:33 +00:00
StorageActivityService.h
StorageDBThread.cpp Bug 1570499 - Part 1: Replace MOZ_FALLTHROUGH macro with C++17's [[fallthrough]] attribute. r=froydnj 2019-12-20 07:16:43 +00:00
StorageDBThread.h Bug 1289211 - Rename InfallibleTArray to nsTArray in dom/storage/ r=Ehsan 2019-07-10 03:27:55 +00:00
StorageDBUpdater.cpp Bug 1570499 - Part 1: Replace MOZ_FALLTHROUGH macro with C++17's [[fallthrough]] attribute. r=froydnj 2019-12-20 07:16:43 +00:00
StorageDBUpdater.h
StorageIPC.cpp Bug 1570644 - Part 1: Fix a regression caused by bug 1556812; r=asuth 2019-08-19 10:24:39 +02:00
StorageIPC.h Bug 1289211 - Rename InfallibleTArray to nsTArray in dom/storage/ r=Ehsan 2019-07-10 03:27:55 +00:00
StorageNotifierService.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-05-25 17:46:15 +00:00
StorageNotifierService.h Bug 1551055 - StoragePrincipal should be supported by localStorage - part 1, r=asuth 2019-05-14 05:49:46 +00:00
StorageObserver.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
StorageObserver.h
StorageUtils.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
StorageUtils.h
moz.build Bug 1593246 - Part 5: Replicate session storage data r=janv,asuth 2019-12-13 09:45:55 +00:00