gecko-dev/dom/localstorage
Nika Layzell 2485971930 Bug 1805963 - Part 1: Stop using local execution mode for LSObject operations, r=janv
The reason this was originally added was for bug 1516277 in order to allow a
synchronous dispatch to a background thread to create a new PBackground
instance without deadlocking. The dispatch didn't want to support running other
main thread runnables, but needed to support sending the runnable to create a
new PBackground instance on the main thread.

This is no longer an issue since bug 1737828, where we changed PBackground
startup to no longer require the main thread, so we can remove the complexity
and instead use a monitor to handle changes. This also allows removing the
timer, as the monitor's timeout can be used instead.

I also changed the logic slightly to make it more likely to catch an expecting
shutdown by waiting on the monitor with a timeout, as previously the main
thread would not be being woken up and checking the condition very often, due
to it not having any runnables to execute.

Differential Revision: https://phabricator.services.mozilla.com/D164840
2022-12-21 22:01:24 +00:00
..
test Bug 1695435 - Part 2: Add more words to the chrome script heuristic in use-isInstance r=preferences-reviewers,Gijs,webdriver-reviewers,whimboo,sgalich 2022-08-24 22:47:42 +00:00
ActorsChild.cpp Bug 1780788 - Use abstract strings as in-arguments for ipdl. r=nika,necko-reviewers,media-playback-reviewers,alwu,dragana 2022-07-25 20:19:48 +00:00
ActorsChild.h Bug 1780788 - Use abstract strings as in-arguments for ipdl. r=nika,necko-reviewers,media-playback-reviewers,alwu,dragana 2022-07-25 20:19:48 +00:00
ActorsParent.cpp Bug 1740889 - Interrupt synchronous LS request if shutdown is expected. r=dom-storage-reviewers,janv 2022-09-02 15:01:28 +00:00
ActorsParent.h
LSDatabase.cpp Bug 1754448 - Add basic testing for snapshot re-using; r=dom-storage-reviewers,webidl,asuth,jari,ipc-reviewers,mccr8 2022-03-09 09:43:09 +00:00
LSDatabase.h Bug 1768189 - Part 17: Apply modernize-concat-nested-namespaces to dom/ipc/URLClassifierParent.h ... r=andi 2022-05-09 20:41:09 +00:00
LSInitializationTypes.h
LSObject.cpp Bug 1805963 - Part 1: Stop using local execution mode for LSObject operations, r=janv 2022-12-21 22:01:24 +00:00
LSObject.h Bug 1805963 - Part 1: Stop using local execution mode for LSObject operations, r=janv 2022-12-21 22:01:24 +00:00
LSObserver.cpp
LSObserver.h Bug 1768189 - Part 17: Apply modernize-concat-nested-namespaces to dom/ipc/URLClassifierParent.h ... r=andi 2022-05-09 20:41:09 +00:00
LSSnapshot.cpp Bug 1754448 - Add basic testing for snapshot re-using; r=dom-storage-reviewers,webidl,asuth,jari,ipc-reviewers,mccr8 2022-03-09 09:43:09 +00:00
LSSnapshot.h Bug 1768189 - Part 17: Apply modernize-concat-nested-namespaces to dom/ipc/URLClassifierParent.h ... r=andi 2022-05-09 20:41:09 +00:00
LSValue.cpp Bug 1631340 - Return empty buffer on failed Snappy uncompress. r=dom-storage-reviewers,asuth 2022-02-09 07:00:34 +00:00
LSValue.h Bug 1768189 - Part 17: Apply modernize-concat-nested-namespaces to dom/ipc/URLClassifierParent.h ... r=andi 2022-05-09 20:41:09 +00:00
LSWriteOptimizer.cpp
LSWriteOptimizer.h Bug 1768189 - Part 17: Apply modernize-concat-nested-namespaces to dom/ipc/URLClassifierParent.h ... r=andi 2022-05-09 20:41:09 +00:00
LSWriteOptimizerImpl.h Bug 1768189 - Part 17: Apply modernize-concat-nested-namespaces to dom/ipc/URLClassifierParent.h ... r=andi 2022-05-09 20:41:09 +00:00
LocalStorageCommon.cpp Bug 1764696 - Replace dom.storage.next_gen with a new pref; r=dom-storage-reviewers,jstutte 2022-05-04 04:35:14 +00:00
LocalStorageCommon.h Bug 1740902: Remove obsolete dom.storage.abort_on_sync_parent_to_child_messages preference and related logic. r=janv,dom-storage-reviewers 2022-05-12 21:22:09 +00:00
LocalStorageManager2.cpp Bug 1788368 - Audit RemoteLazyInputStreamThread singleton uses. r=dom-storage-reviewers,asuth 2022-09-03 07:59:56 +00:00
LocalStorageManager2.h Bug 1768189 - Part 17: Apply modernize-concat-nested-namespaces to dom/ipc/URLClassifierParent.h ... r=andi 2022-05-09 20:41:09 +00:00
PBackgroundLSDatabase.ipdl Bug 1754448 - Rename snapshot usage related variables; r=dom-storage-reviewers,jari 2022-03-03 09:39:51 +00:00
PBackgroundLSObserver.ipdl Bug 1736371 - Default new actors to be refcounted, r=alwu,media-playback-reviewers,mccr8 2022-02-09 17:29:47 +00:00
PBackgroundLSRequest.ipdl Bug 1736371 - Default new actors to be refcounted, r=alwu,media-playback-reviewers,mccr8 2022-02-09 17:29:47 +00:00
PBackgroundLSSharedTypes.ipdlh Bug 1754448 - Add basic testing for snapshot re-using; r=dom-storage-reviewers,webidl,asuth,jari,ipc-reviewers,mccr8 2022-03-09 09:43:09 +00:00
PBackgroundLSSimpleRequest.ipdl Bug 1754448 - Add basic testing for snapshot re-using; r=dom-storage-reviewers,webidl,asuth,jari,ipc-reviewers,mccr8 2022-03-09 09:43:09 +00:00
PBackgroundLSSnapshot.ipdl Bug 1754448 - Add basic testing for snapshot re-using; r=dom-storage-reviewers,webidl,asuth,jari,ipc-reviewers,mccr8 2022-03-09 09:43:09 +00:00
ReportInternalError.cpp Bug 1780788 - Use abstract strings as in-arguments for ipdl. r=nika,necko-reviewers,media-playback-reviewers,alwu,dragana 2022-07-25 20:19:48 +00:00
ReportInternalError.h Bug 1768189 - Part 17: Apply modernize-concat-nested-namespaces to dom/ipc/URLClassifierParent.h ... r=andi 2022-05-09 20:41:09 +00:00
SerializationHelpers.h Bug 1783240 - Part 1: Remove unnecessary `Log` methods from ParamTraits impls, r=ipc-reviewers,necko-reviewers,media-playback-reviewers,mccr8,alwu 2022-09-28 19:25:12 +00:00
SnappyUtils.cpp Bug 1743947 - Update Snappy to version 1.1.9. r=dom-storage-reviewers,janv 2022-07-12 15:38:23 +00:00
SnappyUtils.h Bug 1768189 - Part 17: Apply modernize-concat-nested-namespaces to dom/ipc/URLClassifierParent.h ... r=andi 2022-05-09 20:41:09 +00:00
moz.build Bug 1738401 - Remove -Wno-shadow warning suppressions. r=firefox-build-system-reviewers,glandium 2021-12-01 06:40:04 +00:00
nsILocalStorageManager.idl Bug 1754448 - Add basic testing for snapshot re-using; r=dom-storage-reviewers,webidl,asuth,jari,ipc-reviewers,mccr8 2022-03-09 09:43:09 +00:00