Simon Giesecke
9e871091ce
Bug 1663924 - Use IDB_TRY in DatabaseConnection::AutoSavepoint. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93970
2020-10-23 09:12:54 +00:00
Simon Giesecke
de5978df2e
Bug 1663924 - Use IDB_TRY in DatabaseConnection::DisableQuotaChecks. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93969
2020-10-23 09:12:51 +00:00
Simon Giesecke
3ee0daf3be
Bug 1663924 - Use IDB_TRY in DatabaseConnection::CheckpointInterval. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93968
2020-10-23 09:12:48 +00:00
Simon Giesecke
8d3d4dc81a
Bug 1663924 - Use IDB_TRY in DatabaseConnection::StartSavepoint/ReleaseSavepoint. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93967
2020-10-23 09:12:45 +00:00
Simon Giesecke
3926e69034
Bug 1663924 - Use IDB_TRY in DatabaseConnection::CommitWriteTransaction and DatabaseConnection::FinishWriteTransaction. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93966
2020-10-23 09:12:40 +00:00
Simon Giesecke
ec06e2f8ce
Bug 1663924 - Use IDB_TRY in DatabaseConnection::BeginWriteTransaction. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93965
2020-10-23 09:12:35 +00:00
Simon Giesecke
349449451e
Bug 1663924 - Use IDB_TRY in DeserializeIndexValueHelper. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93964
2020-10-23 09:12:31 +00:00
Simon Giesecke
7f2e9349a2
Bug 1663924 - Use IDB_TRY in DispatchAndReturnFileReferences. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93963
2020-10-23 09:10:48 +00:00
Simon Giesecke
dd921a0f4f
Bug 1663924 - Use IDB_TRY in PopulateResponseHelper. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93962
2020-10-23 09:10:40 +00:00
Simon Giesecke
3d08c3a94a
Bug 1663924 - Use IDB_TRY in GetStorageConnection. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93960
2020-10-23 09:10:24 +00:00
Simon Giesecke
c74ebe96ef
Bug 1663924 - Use IDB_TRY in SetJournalMode. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93959
2020-10-23 09:10:08 +00:00
Simon Giesecke
b74b10181c
Bug 1663924 - Use IDB_TRY in SetDefaultPragmas. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93958
2020-10-23 09:09:54 +00:00
Simon Giesecke
ae6bdffeef
Bug 1663924 - Use IDB_TRY in OpenDatabaseOp::BeginVersionChange. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93957
2020-10-23 09:29:42 +00:00
Simon Giesecke
b98e54c63c
Bug 1663924 - Use IDB_TRY in OpenDatabaseOp::UpdateLocaleAwareIndex. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93956
2020-10-22 10:50:23 +00:00
Simon Giesecke
7ce688b98d
Bug 1663924 - Use IDB_TRY in DatabaseOperationBase::DeleteIndexDataTableRows. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93955
2020-10-22 10:50:09 +00:00
Simon Giesecke
b87ab0b205
Bug 1663924 - Use IDB_TRY in CreateIndexOp::UpdateIndexDataValuesFunction. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93954
2020-10-22 10:49:51 +00:00
Simon Giesecke
7fdd839177
Bug 1663924 - Use IDB_TRY in DeleteIndexOp::RemoveReferencesToIndex. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93953
2020-10-22 10:49:37 +00:00
Simon Giesecke
c06d1452b9
Bug 1663924 - Use IDB_TRY in ObjectStoreGetRequestOp::DoDatabaseWork. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93952
2020-10-22 10:49:24 +00:00
Simon Giesecke
b320c65a62
Bug 1663924 - Use IDB_TRY in IndexGetKeyRequestOp::DoDatabaseWork. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93951
2020-10-22 10:49:10 +00:00
Simon Giesecke
5d1fb2048e
Bug 1663924 - Use IDB_TRY in IndexCountRequestOp::DoDatabaseWork. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93950
2020-10-22 10:49:02 +00:00
Simon Giesecke
2da3542b20
Bug 1663924 - Use IDB_TRY in OpenOpHelper<IDBCursorType::ObjectStore>::DoDatabaseWork. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93949
2020-10-22 10:48:59 +00:00
Simon Giesecke
76423967f3
Bug 1663924 - Use IDB_TRY in OpenOpHelper<IDBCursorType::ObjectStoreKey>::DoDatabaseWork. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93948
2020-10-22 10:48:56 +00:00
Simon Giesecke
0bf71e9db4
Bug 1663924 - Use IDB_TRY in OpenOpHelper<IDBCursorType::Index>::DoDatabaseWork. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93947
2020-10-22 10:48:47 +00:00
Simon Giesecke
f52b8d438f
Bug 1663924 - Use IDB_TRY in OpenOpHelper<IDBCursorType::IndexKey>::DoDatabaseWork. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93946
2020-10-22 10:48:44 +00:00
Simon Giesecke
7a4cb06fe0
Bug 1663924 - Use IDB_TRY in ContinueOp::DoDatabaseWork. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93945
2020-10-22 10:48:41 +00:00
Simon Giesecke
cf10c2f0cd
Bug 1663924 - Use IDB_TRY in IndexGetRequestOp::DoDatabaseWork. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93944
2020-10-22 10:48:36 +00:00
Simon Giesecke
8c7d43bc15
Bug 1663924 - Use IDB_TRY in ObjectStoreCountRequestOp::DoDatabaseWork. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93943
2020-10-22 10:48:32 +00:00
Simon Giesecke
f83e7c1cea
Bug 1663924 - Use IDB_TRY in ObjectStoreClearRequestOp::DoDatabaseWork. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93942
2020-10-22 10:48:29 +00:00
Simon Giesecke
aa2e906f7f
Bug 1663924 - Use IDB_TRY in ObjectStoreDeleteRequestOp::DoDatabaseWork. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93941
2020-10-22 10:48:26 +00:00
Simon Giesecke
1da9b3afdc
Bug 1663924 - Use IDB_TRY in RenameIndexOp::DoDatabaseWork. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93940
2020-10-21 09:36:52 +00:00
Simon Giesecke
1c4eff1944
Bug 1663924 - Use IDB_TRY in DeleteIndexOp::DoDatabaseWork. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93939
2020-10-21 09:28:10 +00:00
Simon Giesecke
6754bf7c83
Bug 1663924 - Use IDB_TRY in CreateIndexOp::DoDatabaseWork. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93938
2020-10-21 09:27:56 +00:00
Simon Giesecke
de2afaca49
Bug 1663924 - Use IDB_TRY in RenameObjectStoreOp::DoDatabaseWork. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93937
2020-10-21 09:27:43 +00:00
Simon Giesecke
808583b081
Bug 1663924 - Extract and reuse MakeAutoSavepointCleanupHandler. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93935
2020-10-21 09:27:35 +00:00
Simon Giesecke
84491346e6
Bug 1663924 - Use IDB_TRY in DeleteObjectStoreOp::DoDatabaseWork. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93934
2020-10-21 09:27:21 +00:00
Simon Giesecke
d74a34469f
Bug 1663924 - Use IDB_TRY in UpdateRefcountFunction::ProcessValue. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93933
2020-10-21 08:50:06 +00:00
Simon Giesecke
8055c126b6
Bug 1663924 - Change KeyPath::SerializeToString to use a return value. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93932
2020-10-21 08:45:17 +00:00
Simon Giesecke
223d4e1dee
Bug 1663924 - Use IDB_TRY in CreateObjectStoreOp::DoDatabaseWork. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93931
2020-10-21 08:45:13 +00:00
Simon Giesecke
38a26b9f4c
Bug 1663924 - Extract and reuse CloneFileAndAppend. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93791
2020-10-21 08:45:06 +00:00
Simon Giesecke
ed5aa8570e
Bug 1663924 - Use IDB_TRY in ObjectStoreAddOrPutRequestOp::DoDatabaseWork. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93788
2020-10-20 12:01:15 +00:00
Simon Giesecke
46b7545610
Bug 1663924 - Use IDB_TRY in ObjectStoreAddOrPutRequestOp::RemoveOldIndexDataValues. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93787
2020-10-20 09:29:07 +00:00
Simon Giesecke
724081898b
Bug 1663924 - Use IDB_TRY in CreateIndexOp::InsertDataFromObjectStoreInternal. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93786
2020-10-20 08:48:03 +00:00
Simon Giesecke
1641f71601
Bug 1663924 - Use IDB_TRY in DatabaseMaintenance::CheckIntegrity. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93785
2020-10-20 08:47:14 +00:00
Simon Giesecke
f174daf784
Bug 1663924 - Use IDB_TRY in DatabaseMaintenance::FullVacuum. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93784
2020-10-20 08:43:48 +00:00
Simon Giesecke
49474327e5
Bug 1663924 - Use IDB_TRY in DatabaseMaintenance::DetermineMaintenanceAction. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93783
2020-10-20 08:41:56 +00:00
Simon Giesecke
d1a262bed6
Bug 1663924 - Use IDB_TRY in FactoryOp::OpenDirectory. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93782
2020-10-20 08:40:21 +00:00
Simon Giesecke
61132b27b2
Bug 1663924 - Use IDB_TRY in Maintenance::DirectoryWork. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D92781
2020-10-20 08:35:14 +00:00
Simon Giesecke
859dc0bc1c
Bug 1663924 - Replace output parameters by return values on GetInfo* methods. r=dom-workers-and-storage-reviewers,ttung
...
This also changes all methods that use a pair of group/origin or a tuple of
suffix/group/origin input/output parameters to use a single GroupAndOrigin
resp. QuotaInfo struct input parameter or return value. Also, several types
having a pair or 3-tuple of such data members are changed to use these structs
instead.
Differential Revision: https://phabricator.services.mozilla.com/D91131
2020-10-20 11:46:31 +00:00
Simon Giesecke
ffa6f7af00
Bug 1663924 - Replace output parameter of ObjectStoreHasIndexes by return value. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D91161
2020-10-20 09:25:00 +00:00
Simon Giesecke
1737ec2d35
Bug 1663924 - Use IDB_TRY in DatabaseOperationBase::DeleteObjectStoreDataTableRowsWithIndexes. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93781
2020-10-19 10:09:21 +00:00