gecko-dev/dom/storage
Jan Varga bd9fcfbc01 Bug 1350637 - Part 11: Fix a race between parent/child process; r=asuth
When a storage child actor gets the xpcom-shutdown notification, it releases
the actor singleton which asynchronously sends __delete__ to the parent and
destroys the child actor immediatelly. However, at the same time parent can be
sending a message to the child which results in a routing error since the child
actor doesn't exist anymore. The routing error causes a crash.
This patch prevents the race by doing the teardown in two steps. We send a
message to the parent DeleteMe and parent then sends __delete__ to the child.
2017-08-08 23:02:57 +02:00
..
LocalStorage.cpp Bug 1350637 - Part 9: Move Local Storage event broadcasting from PContent to PBackground; r=asuth 2017-08-08 23:02:28 +02:00
LocalStorage.h Bug 1374580 (part 3) - Remove ns{,C}Substring typedefs. r=froydnj. 2017-06-20 19:19:52 +10:00
LocalStorageCache.cpp Bug 1350637 - Part 1: Move PStorage stubs from PContent to PBackground; r=asuth r=billm 2017-08-08 22:56:49 +02:00
LocalStorageCache.h Bug 1350637 - Part 2: Core changes for LocalStorage on PBackground; r=asuth 2017-07-26 12:19:13 +02:00
LocalStorageManager.cpp Backed out changeset 5020a2dcb8a7 (bug 1355576) for failures in test_ext_browsingData.js 2017-08-06 15:29:38 -07:00
LocalStorageManager.h Bug 1350637 - Part 2: Core changes for LocalStorage on PBackground; r=asuth 2017-07-26 12:19:13 +02:00
moz.build Bug 1350637 - Part 1: Move PStorage stubs from PContent to PBackground; r=asuth r=billm 2017-08-08 22:56:49 +02:00
PBackgroundStorage.ipdl Bug 1350637 - Part 11: Fix a race between parent/child process; r=asuth 2017-08-08 23:02:57 +02:00
SessionStorage.cpp Bug 1322316 - Split SessionStorage and LocalStorage implementation - part 11 - SessionStorageCache must have 2 DataSet: default and sessionOnly, r=asuth 2017-05-17 07:01:15 +02:00
SessionStorage.h Bug 1322316 - Split SessionStorage and LocalStorage implementation - part 10 - Move IsSessionOnly() in Storage class, r=asuth 2017-05-17 07:01:15 +02:00
SessionStorageCache.cpp Bug 1322316 - Split SessionStorage and LocalStorage implementation - part 11 - SessionStorageCache must have 2 DataSet: default and sessionOnly, r=asuth 2017-05-17 07:01:15 +02:00
SessionStorageCache.h Bug 1322316 - Split SessionStorage and LocalStorage implementation - part 11 - SessionStorageCache must have 2 DataSet: default and sessionOnly, r=asuth 2017-05-17 07:01:15 +02:00
SessionStorageManager.cpp Bug 1384650 - Remove extra warnings in SessionStorageManage, r=erahm 2017-07-26 21:47:43 +02:00
SessionStorageManager.h Bug 1322316 - Split SessionStorage and LocalStorage implementation - part 11 - SessionStorageCache must have 2 DataSet: default and sessionOnly, r=asuth 2017-05-17 07:01:15 +02:00
Storage.cpp Bug 1378930 - Part 2: Remove the aName parameter from SchedulerGroup/DocGroup/DispatcherTrait. r=billm 2017-07-26 16:13:35 +08:00
Storage.h Bug 1322316 - Split SessionStorage and LocalStorage implementation - part 10 - Move IsSessionOnly() in Storage class, r=asuth 2017-05-17 07:01:15 +02:00
StorageDBThread.cpp Bug 1350637 - Part 6: Fix a deadlock when main process storage child actor triggers storage thread initialization; r=asuth 2017-08-08 23:01:52 +02:00
StorageDBThread.h Bug 1350637 - Part 6: Fix a deadlock when main process storage child actor triggers storage thread initialization; r=asuth 2017-08-08 23:01:52 +02:00
StorageDBUpdater.cpp Bug 1322316 - Split SessionStorage and LocalStorage implementation - part 5 - Shared broadcasting of changes, r=asuth 2017-05-17 07:01:14 +02:00
StorageDBUpdater.h Bug 1322550 - Rename DOMStorage to Storage, r=smaug 2017-01-04 14:53:01 +01:00
StorageIPC.cpp Bug 1350637 - Part 11: Fix a race between parent/child process; r=asuth 2017-08-08 23:02:57 +02:00
StorageIPC.h Bug 1350637 - Part 11: Fix a race between parent/child process; r=asuth 2017-08-08 23:02:57 +02:00
StorageNotifierService.cpp Bug 1379568 - Filtering for StorageEvent broadcasting, r=asuth 2017-07-26 15:55:51 +02:00
StorageNotifierService.h Bug 1379568 - Filtering for StorageEvent broadcasting, r=asuth 2017-07-26 15:55:51 +02:00
StorageObserver.cpp Bug 1350637 - Part 5: Factor out the parent actor observer sink to work on the PBackground thread, fix the rest of observer handling to use IPC; r=asuth 2017-08-08 23:01:33 +02:00
StorageObserver.h Bug 1350637 - Part 2: Core changes for LocalStorage on PBackground; r=asuth 2017-07-26 12:19:13 +02:00
StorageUtils.cpp Bug 1374580 (part 3) - Remove ns{,C}Substring typedefs. r=froydnj. 2017-06-20 19:19:52 +10:00
StorageUtils.h Bug 1374580 (part 3) - Remove ns{,C}Substring typedefs. r=froydnj. 2017-06-20 19:19:52 +10:00