gecko-dev/dom/indexedDB
Jan Varga 5cebbc21b1 Bug 1619592 - Refactor persistence type checks using new IsValidPersistenceType method; r=dom-workers-and-storage-reviewers,sg
This patch makes use of the IsValidPersistenceType function it adds at places where individual checks were done before. It also moves some checks to the parameter validation phase.

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

--HG--
extra : moz-landing-system : lando
2020-03-17 13:06:17 +00:00
..
crashtests Bug 1577202 - Added test case from fuzzying. r=dom-workers-and-storage-reviewers,asuth 2019-12-04 12:45:35 +00:00
test Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub 2020-03-13 23:38:52 +00:00
ActorsChild.cpp Bug 1617170 - Split StructuredCloneReadInfo into parent- and child-specific classes. r=dom-workers-and-storage-reviewers,janv 2020-03-11 17:30:33 +00:00
ActorsChild.h Bug 1613340 - Remove const_cast relating to CursorResponse. r=jld,dom-workers-and-storage-reviewers,edenchuang 2020-03-03 13:51:18 +00:00
ActorsParent.cpp Bug 1619592 - Refactor persistence type checks using new IsValidPersistenceType method; r=dom-workers-and-storage-reviewers,sg 2020-03-17 13:06:17 +00:00
ActorsParent.h Bug 1617170 - Make AsyncDeleteFile a member function of FileManager. r=janv,dom-workers-and-storage-reviewers 2020-03-16 09:49:47 +00:00
FileInfo.cpp Bug 1617170 - Make AsyncDeleteFile a member function of FileManager. r=janv,dom-workers-and-storage-reviewers 2020-03-16 09:49:47 +00:00
FileInfo.h Bug 1617170 - Pull up parts of FileManager that are used by FileInfo into FileManagerBase. r=janv,dom-workers-and-storage-reviewers 2020-03-16 09:50:38 +00:00
FileManager.h Bug 1617170 - Pull up parts of FileManager that are used by FileInfo into FileManagerBase. r=janv,dom-workers-and-storage-reviewers 2020-03-16 09:50:38 +00:00
FileManagerBase.h Bug 1617170 - Pull up parts of FileManager that are used by FileInfo into FileManagerBase. r=janv,dom-workers-and-storage-reviewers 2020-03-16 09:50:38 +00:00
FlippedOnce.h Bug 1600906 - Made FlippedOnce member functions constexpr. r=dom-workers-and-storage-reviewers,ytausky 2019-12-13 10:54:48 +00:00
IDBCursor.cpp Bug 1617170 - Split StructuredCloneReadInfo into parent- and child-specific classes. r=dom-workers-and-storage-reviewers,janv 2020-03-11 17:30:33 +00:00
IDBCursor.h Bug 1617170 - Split StructuredCloneReadInfo into parent- and child-specific classes. r=dom-workers-and-storage-reviewers,janv 2020-03-11 17:30:33 +00:00
IDBCursorType.cpp Bug 1617170 - Split StructuredCloneReadInfo into parent- and child-specific classes. r=dom-workers-and-storage-reviewers,janv 2020-03-11 17:30:33 +00:00
IDBCursorType.h Bug 1617170 - Split StructuredCloneReadInfo into parent- and child-specific classes. r=dom-workers-and-storage-reviewers,janv 2020-03-11 17:30:33 +00:00
IDBDatabase.cpp Bug 1619592 - Rationalize PersistenceTypeTo* and PersistenceTypeFrom* methods; r=dom-workers-and-storage-reviewers,sg 2020-03-13 12:55:20 +00:00
IDBDatabase.h Bug 1617170 - Encapsulate StructuredCloneFile. r=dom-workers-and-storage-reviewers,janv 2020-03-07 09:31:48 +00:00
IDBEvents.cpp Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,janv 2019-12-19 09:23:47 +00:00
IDBEvents.h Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,janv 2019-12-16 14:35:59 +00:00
IDBFactory.cpp Bug 1619592 - Rationalize PersistenceTypeTo* and PersistenceTypeFrom* methods; r=dom-workers-and-storage-reviewers,sg 2020-03-13 12:55:20 +00:00
IDBFactory.h Bug 1618463 - Remove unused message IncrementLoggingRequestSerialNumber from PBackgroundIDBFactory; r=sg,dom-workers-and-storage-reviewers 2020-02-27 09:30:50 +00:00
IDBFileHandle.cpp Bug 1619112 part 2. Pass char literals instead of char16_t literals into ErrorResult throwing methods. r=smaug 2020-03-06 21:04:58 +00:00
IDBFileHandle.h Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,janv 2019-12-19 09:23:47 +00:00
IDBFileRequest.cpp Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,janv 2019-12-16 14:35:59 +00:00
IDBFileRequest.h Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,janv 2019-12-16 14:35:59 +00:00
IDBIndex.cpp Bug 1497007 - Replace CanAcceptRequests by the now equivalent IsActive. r=dom-workers-and-storage-reviewers,janv 2020-01-17 12:47:09 +00:00
IDBIndex.h Bug 1600283 - Replaced use of nsAutoPtr by UniquePtr. r=dom-workers-and-storage-reviewers,janv 2019-12-19 09:57:45 +00:00
IDBKeyRange.cpp Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,janv 2019-12-16 13:18:06 +00:00
IDBKeyRange.h Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,janv 2019-12-16 13:18:06 +00:00
IDBMutableFile.cpp Bug 1617170 - Remove some local helper classes. r=dom-workers-and-storage-reviewers,janv 2020-03-11 16:49:15 +00:00
IDBMutableFile.h Bug 1607791 - Get rid of IDBMutableFile.getFile() - part 1, r=asuth,janv 2020-01-15 12:02:21 +00:00
IDBObjectStore.cpp Bug 1617170 - Make GetFileForFileInfo a non-static member function. r=dom-workers-and-storage-reviewers,janv 2020-03-16 09:48:02 +00:00
IDBObjectStore.h Bug 1617170 - Split StructuredCloneReadInfo into parent- and child-specific classes. r=dom-workers-and-storage-reviewers,janv 2020-03-11 17:30:33 +00:00
IDBRequest.cpp Bug 1617327 - Part 2: Remove nsAutoPtr usage from ipc, security, IDB. r=mccr8,janv 2020-02-24 19:26:40 +00:00
IDBRequest.h Bug 1600283 - Removed unused include directives. r=dom-workers-and-storage-reviewers,ytausky 2019-12-19 09:57:40 +00:00
IDBResult.h
IDBTransaction.cpp Bug 1619307 - Fixed assertion in IDBTransaction::Run. r=dom-workers-and-storage-reviewers,janv 2020-03-04 13:10:54 +00:00
IDBTransaction.h Bug 1613340 - Remove const_cast relating to DatabaseSpec. r=dom-workers-and-storage-reviewers,edenchuang 2020-03-03 13:44:25 +00:00
IndexedDatabase.h Bug 1617170 - Split StructuredCloneReadInfo into parent- and child-specific classes. r=dom-workers-and-storage-reviewers,janv 2020-03-11 17:30:33 +00:00
IndexedDatabaseInlines.h Bug 1617170 - Split StructuredCloneReadInfo into parent- and child-specific classes. r=dom-workers-and-storage-reviewers,janv 2020-03-11 17:30:33 +00:00
IndexedDatabaseManager.cpp Bug 1606187 - Part 2b: Update users of nsClassHashtable to handle UniquePtr differences r=KrisWright,froydnj 2020-01-13 19:18:56 +00:00
IndexedDatabaseManager.h Bug 1600283 - Remove uses of already_AddRefed. r=dom-workers-and-storage-reviewers,ytausky 2019-12-19 09:24:22 +00:00
InitializedOnce.h Bug 1617170 - Restrict availability of InitializedOnce::reset, and add InitializedOnce::release. r=dom-workers-and-storage-reviewers,janv 2020-02-28 10:28:30 +00:00
Key.cpp Bug 1617170 - Encapsulate StructuredCloneReadInfo members. r=dom-workers-and-storage-reviewers,janv 2020-03-11 17:20:05 +00:00
Key.h Bug 1600906 - Avoid copying key buffers. r=dom-workers-and-storage-reviewers,ytausky 2020-01-06 14:16:33 +00:00
KeyPath.cpp Bug 1602882 - Move array operations to a new js/Array.h header. r=sfink,bzbarsky 2019-12-11 06:17:44 +00:00
KeyPath.h Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj 2020-02-20 11:40:14 +00:00
moz.build Bug 1613854 - De-virtualize IPDL protocol methods in ActorsChild. r=dom-workers-and-storage-reviewers,janv,jld 2020-02-17 14:49:27 +00:00
nsIIDBPermissionsRequest.idl
PBackgroundIDBCursor.ipdl
PBackgroundIDBDatabase.ipdl
PBackgroundIDBDatabaseFile.ipdl
PBackgroundIDBDatabaseRequest.ipdl
PBackgroundIDBFactory.ipdl Bug 1618463 - Remove unused message IncrementLoggingRequestSerialNumber from PBackgroundIDBFactory; r=sg,dom-workers-and-storage-reviewers 2020-02-27 09:30:50 +00:00
PBackgroundIDBFactoryRequest.ipdl
PBackgroundIDBRequest.ipdl
PBackgroundIDBSharedTypes.ipdlh Bug 1539498 - Make SerializedStructuredCloneBuffer move-only. r=asuth,jld,baku 2020-02-01 15:16:43 +00:00
PBackgroundIDBTransaction.ipdl Bug 1609957 - Fix race condition in determining the last request before commit. r=dom-workers-and-storage-reviewers,janv 2020-02-27 10:05:48 +00:00
PBackgroundIDBVersionChangeTransaction.ipdl Bug 1609957 - Fix race condition in determining the last request before commit. r=dom-workers-and-storage-reviewers,janv 2020-02-27 10:05:48 +00:00
PBackgroundIndexedDBUtils.ipdl
PermissionRequestBase.cpp Bug 1600906 - Use std::move instead of swap, use const where then possible. r=dom-workers-and-storage-reviewers,ytausky 2020-01-09 14:43:57 +00:00
PermissionRequestBase.h
ProfilerHelpers.h Bug 1617327 - Part 2: Remove nsAutoPtr usage from ipc, security, IDB. r=mccr8,janv 2020-02-24 19:26:40 +00:00
ReportInternalError.cpp
ReportInternalError.h
ScriptErrorHelper.cpp
ScriptErrorHelper.h
SerializationHelpers.h Bug 1600906 - Convert IDBCursor and BackgroundCursorChild to templates to increase type safety and reduce state. r=dom-workers-and-storage-reviewers,ytausky 2020-01-10 15:23:52 +00:00