gecko-dev/dom/indexedDB
Simon Giesecke fbf7a1dad4 Bug 1686191 - Remove module argument from LogError. r=dom-workers-and-storage-reviewers,janv
The module argument in LogError is redundant: the module information can
already be determined from the source file path. Indeed, reporting the module
separately in the telemetry events seems unnecessary. Instead, the relative
path is now reported. This is what the analysis of the telemetry data did
reconstruct anyway.

As a consequence, it's no longer necessary to define module-specific
HandleError functions, and therefore it's also unnecessary to define
module-specific TRY macros. These are retained as simple aliases for now,
but can be removed in a later patch entirely.

This also avoids misuses of a TRY macros in the wrong module, which were
happening a few times before, resulting in confusing output or telemetry
events.

Since Bug 1686191 will add some more TRY macro variants that warn, so
simplifying the module-specific aspects will simplify that task. Furthermore,
this is in preparation of moving the TRY macro extensions to MFBT.

Differential Revision: https://phabricator.services.mozilla.com/D102767
2021-03-12 15:01:21 +00:00
..
crashtests Bug 1543154 - Added test case from fuzzer. r=dom-workers-and-storage-reviewers,edenchuang 2021-03-12 14:34:30 +00:00
test Bug 1678330: Ensure nested SpinEventLoopUntil(OrShutdown) calls are traceable to the originating source in case of crash. r=nika,extension-reviewers 2021-03-02 22:11:58 +00:00
ActorsChild.cpp Bug 1691589 - Reduce reliance on GeckoProfiler.h when only labels (and maybe markers) are needed - r=necko-reviewers,geckoview-reviewers,sg,agi,florian 2021-02-16 04:44:19 +00:00
ActorsChild.h
ActorsParent.cpp Bug 1687001 - Resolve races on auto increment ids by a mutex. r=dom-workers-and-storage-reviewers,asuth 2021-03-11 19:13:39 +00:00
ActorsParent.h
ActorsParentCommon.cpp Bug 1691589 - Reduce reliance on GeckoProfiler.h when only labels (and maybe markers) are needed - r=necko-reviewers,geckoview-reviewers,sg,agi,florian 2021-02-16 04:44:19 +00:00
ActorsParentCommon.h Bug 1663924 - Extract and reuse SnappyUncompressStructuredCloneData. r=dom-workers-and-storage-reviewers,ttung 2020-10-21 08:45:03 +00:00
DBSchema.cpp Bug 1691589 - Reduce reliance on GeckoProfiler.h when only labels (and maybe markers) are needed - r=necko-reviewers,geckoview-reviewers,sg,agi,florian 2021-02-16 04:44:19 +00:00
DBSchema.h
FileInfo.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
FileInfoFwd.h
FileInfoT.h
FileInfoTImpl.h
FileManager.h Bug 1686031 - Rename OriginMetadata.h to CommonMetadata.h; r=dom-storage-reviewers,sg 2021-03-11 05:53:17 +00:00
FileManagerBase.h Bug 1634281 - Use nsTHashMap instead of nsDataHashtable. r=xpcom-reviewers,necko-reviewers,jgilbert,nika,valentin 2021-03-10 10:47:47 +00:00
FlippedOnce.h
IDBCursor.cpp Bug 1682536 - Use references/NotNull with IDBCursor. r=dom-workers-and-storage-reviewers,janv 2021-01-21 11:58:29 +00:00
IDBCursor.h
IDBCursorType.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
IDBCursorType.h
IDBDatabase.cpp Bug 1691913 - Rename nsBaseHashtable::Put to InsertOrUpdate. r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika 2021-02-26 09:11:46 +00:00
IDBDatabase.h Bug 1634281 - Use nsTHashMap instead of nsDataHashtable. r=xpcom-reviewers,necko-reviewers,jgilbert,nika,valentin 2021-03-10 10:47:47 +00:00
IDBEvents.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
IDBEvents.h
IDBFactory.cpp Bug 1673931 - Remove dependency of BindingUtils.h on Document.h. 2020-11-23 16:08:03 +00:00
IDBFactory.h
IDBFileHandle.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
IDBFileHandle.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
IDBFileRequest.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
IDBFileRequest.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
IDBIndex.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
IDBIndex.h
IDBKeyRange.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
IDBKeyRange.h
IDBMutableFile.cpp Bug 1682536 - Use references/NotNull with IDBMutableFile. r=dom-workers-and-storage-reviewers,janv 2021-01-21 11:58:27 +00:00
IDBMutableFile.h
IDBObjectStore.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
IDBObjectStore.h
IDBRequest.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
IDBRequest.h Bug 1680724 - Use ToMaybeRef or SafeRefPtr::maybeDeref where possible. r=dom-workers-and-storage-reviewers,janv 2020-12-08 17:49:30 +00:00
IDBResult.h Bug 1677284 - Move PackingStrategy::Variant implementation to separate header file. r=emilio 2020-11-23 15:49:14 +00:00
IDBTransaction.cpp Bug 1682536 - Use references/NotNull with IDBCursor. r=dom-workers-and-storage-reviewers,janv 2021-01-21 11:58:29 +00:00
IDBTransaction.h Bug 1682536 - Use references/NotNull with IDBCursor. r=dom-workers-and-storage-reviewers,janv 2021-01-21 11:58:29 +00:00
IndexedDBCommon.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
IndexedDBCommon.h Bug 1686191 - Remove module argument from LogError. r=dom-workers-and-storage-reviewers,janv 2021-03-12 15:01:21 +00:00
IndexedDatabase.cpp Bug 1673424 - Fix includes around JS/StructuredClone.h. 2020-11-23 16:06:52 +00:00
IndexedDatabase.h Bug 1673424 - Fix includes around JS/StructuredClone.h. 2020-11-23 16:06:52 +00:00
IndexedDatabaseInlines.h
IndexedDatabaseManager.cpp Bug 1691913 - Rename nsClassHashtable::LookupOrAdd to GetOrInsertNew. r=xpcom-reviewers,nika 2021-02-22 12:07:47 +00:00
IndexedDatabaseManager.h Bug 1685281 - Fix IndexedDatabaseManager in the non-unified environment. r=sg 2021-01-06 12:00:56 +00:00
Key.cpp Bug 1674777 part 5 - Change GetObjectAs* APIs to use size_t for outparam instead of uint32_t. r=sfink,sg 2021-02-01 17:15:00 +00:00
Key.h Bug 1678374 - Avoid including jsapi.h from header files. r=jandem 2020-11-23 16:12:34 +00:00
KeyPath.cpp Bug 1679987 - Use nsTokenizedRange where easily possible. r=xpcom-reviewers,nika 2020-12-16 19:10:34 +00:00
KeyPath.h Bug 1673931 - Avoid including BindingDeclarations.h from header files. r=nika 2021-03-04 14:32:14 +00:00
PBackgroundIDBCursor.ipdl Bug 1660470 - Move void_t/null_t to a new IPCCore.h header. r=nika 2020-11-23 16:05:20 +00:00
PBackgroundIDBDatabase.ipdl Bug 1660470 - Move void_t/null_t to a new IPCCore.h header. r=nika 2020-11-23 16:05:20 +00:00
PBackgroundIDBDatabaseFile.ipdl
PBackgroundIDBDatabaseRequest.ipdl
PBackgroundIDBFactory.ipdl Bug 1660470 - Move void_t/null_t to a new IPCCore.h header. r=nika 2020-11-23 16:05:20 +00:00
PBackgroundIDBFactoryRequest.ipdl
PBackgroundIDBRequest.ipdl Bug 1660470 - Move void_t/null_t to a new IPCCore.h header. r=nika 2020-11-23 16:05:20 +00:00
PBackgroundIDBSharedTypes.ipdlh Bug 1689147 - Part 1: Add extended attribute syntax to IPDL, r=mccr8 2021-02-09 16:50:21 +00:00
PBackgroundIDBTransaction.ipdl
PBackgroundIDBVersionChangeTransaction.ipdl
PBackgroundIndexedDBUtils.ipdl
PermissionRequestBase.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
PermissionRequestBase.h
ProfilerHelpers.cpp Bug 1583109 - Use StringJoin(Append) where easily possible. r=nika 2020-12-17 14:58:18 +00:00
ProfilerHelpers.h
ReportInternalError.cpp Bug 1674637 - Use nested namespaces in dom/ r=sg,andi 2020-11-04 17:04:01 +00:00
ReportInternalError.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
SafeRefPtr.h Bug 1687391 - Avoid using a spinlock in ThreadSafeWeakReference, r=glandium,mccr8,Gankra,sg 2021-02-03 17:00:04 +00:00
SchemaUpgrades.cpp Bug 1691589 - Reduce reliance on GeckoProfiler.h when only labels (and maybe markers) are needed - r=necko-reviewers,geckoview-reviewers,sg,agi,florian 2021-02-16 04:44:19 +00:00
SchemaUpgrades.h
ScriptErrorHelper.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
ScriptErrorHelper.h
SerializationHelpers.h Bug 1677466 - Move ParamTraits specializations with extra dependencies out of IPCMessageUtils.h. r=mccr8 2020-12-10 11:09:21 +00:00
ThreadLocal.h
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
nsIIDBPermissionsRequest.idl