gecko-dev/dom/localstorage
Simon Giesecke 6e49dfa042 Bug 1678030 - Move CollectWhileHasResult to QuotaCommon and use in other quota clients. r=dom-workers-and-storage-reviewers,ttung
This patch also:

- introduces CollectElementsWhileHasResult(Typed) to collects elements in and
  array.
- uses more QM_TRYs in our code.
- changes some pieces of code to match our coding gulideline.

Also, using CollectElementsWhileHasResult and CollectWhileHasResult helps the
code in cache/DBSchema to ensure the funtion returns an error result when
ExecuteStep returns an error in the loop's condition check consistently. Before
this change, DOM cache code often doesn't check the result from ExecuteStep
after exiting the loop.

Differential Revision: https://phabricator.services.mozilla.com/D97466
2020-12-14 10:42:36 +00:00
..
test Bug 1619592 - Replace EnsureStorageAndOriginIsInitialized with EnsureTemporaryOriginIsInitialized in dom/localstorage; r=dom-workers-and-storage-reviewers,sg 2020-11-19 15:42:11 +00:00
ActorsChild.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
ActorsChild.h Bug 1626555 - Make `dom/localstorage` buildable outside of `unified-build` environment. r=andi 2020-10-21 13:17:18 +00:00
ActorsParent.cpp Bug 1678030 - Move CollectWhileHasResult to QuotaCommon and use in other quota clients. r=dom-workers-and-storage-reviewers,ttung 2020-12-14 10:42:36 +00:00
ActorsParent.h Bug 1626555 - Make `dom/localstorage` buildable outside of `unified-build` environment. r=andi 2020-10-21 13:17:18 +00:00
LSDatabase.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
LSDatabase.h Bug 1626555 - Make `dom/localstorage` buildable outside of `unified-build` environment. r=andi 2020-10-21 13:17:18 +00:00
LSObject.cpp Bug 1676365 - Move SpinEventLoopUntil to separate header. r=#xpcom-reviewers 2020-11-23 16:10:41 +00:00
LSObject.h Bug 1626555 - Make `dom/localstorage` buildable outside of `unified-build` environment. r=andi 2020-10-21 13:17:18 +00:00
LSObserver.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
LSObserver.h Bug 1626555 - Make `dom/localstorage` buildable outside of `unified-build` environment. r=andi 2020-10-21 13:17:18 +00:00
LSSnapshot.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
LSSnapshot.h Bug 1626555 - Make `dom/localstorage` buildable outside of `unified-build` environment. r=andi 2020-10-21 13:17:18 +00:00
LSValue.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
LSValue.h Bug 1626555 - Make `dom/localstorage` buildable outside of `unified-build` environment. r=andi 2020-10-21 13:17:18 +00:00
LSWriteOptimizer.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
LSWriteOptimizer.h Bug 1626555 - Make `dom/localstorage` buildable outside of `unified-build` environment. r=andi 2020-10-21 13:17:18 +00:00
LSWriteOptimizerImpl.h Bug 1654080 - Use PBackground for syncing SessionStorageCache and use LSWriteOptimizer to send data changes; r=dom-workers-and-storage-reviewers,janv,nika 2020-10-14 00:19:33 +00:00
LocalStorageCommon.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
LocalStorageCommon.h Bug 1626555 - Make `dom/localstorage` buildable outside of `unified-build` environment. r=andi 2020-10-21 13:17:18 +00:00
LocalStorageManager2.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
LocalStorageManager2.h Bug 1626555 - Make `dom/localstorage` buildable outside of `unified-build` environment. r=andi 2020-10-21 13:17:18 +00:00
PBackgroundLSDatabase.ipdl
PBackgroundLSObserver.ipdl
PBackgroundLSRequest.ipdl Bug 1660470 - Move void_t/null_t to a new IPCCore.h header. r=nika 2020-11-23 16:05:20 +00:00
PBackgroundLSSharedTypes.ipdlh
PBackgroundLSSimpleRequest.ipdl
PBackgroundLSSnapshot.ipdl
ReportInternalError.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
ReportInternalError.h Bug 1626555 - Make `dom/localstorage` buildable outside of `unified-build` environment. r=andi 2020-10-21 13:17:18 +00:00
SerializationHelpers.h Bug 1677466 - Move ParamTraits specializations with extra dependencies out of IPCMessageUtils.h. r=mccr8 2020-12-10 11:09:21 +00:00
SnappyUtils.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
SnappyUtils.h
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
nsILocalStorageManager.idl Bug 1458043 - Stop converting promises to nsISupports in xpconnect, r=kmag 2020-07-07 22:20:01 +00:00