d0611e26e5728f820445aa22c4c0fcb3284581da: Bug 1685677 - Refactor QuotaManager::CollectOriginsForEviction. r=#dom-workers-and-storage draft
Simon Giesecke <sgiesecke@mozilla.com> - Fri, 08 Jan 2021 15:41:10 +0100 - rev 3450215
Push 641700 by sgiesecke@mozilla.com at Thu, 14 Jan 2021 11:55:28 +0000
Bug 1685677 - Refactor QuotaManager::CollectOriginsForEviction. r=#dom-workers-and-storage Differential Revision: https://phabricator.services.mozilla.com/D101182
cc80269fb6f6bcdfc198bf5990a0ad7d43b9333a: Bug 1685677 - Reduce scope of variables only used within an if statement. r=#dom-workers-and-storage draft
Simon Giesecke <sgiesecke@mozilla.com> - Fri, 08 Jan 2021 15:12:58 +0100 - rev 3450214
Push 641700 by sgiesecke@mozilla.com at Thu, 14 Jan 2021 11:55:28 +0000
Bug 1685677 - Reduce scope of variables only used within an if statement. r=#dom-workers-and-storage Differential Revision: https://phabricator.services.mozilla.com/D101181
a966728be922058ae48108a87376db5db3e4bf89: Bug 1685677 - Don't unnecessarily materialize a flattened array of OriginInfo*. r=#dom-workers-and-storage draft
Simon Giesecke <sgiesecke@mozilla.com> - Fri, 08 Jan 2021 12:39:36 +0100 - rev 3450213
Push 641700 by sgiesecke@mozilla.com at Thu, 14 Jan 2021 11:55:28 +0000
Bug 1685677 - Don't unnecessarily materialize a flattened array of OriginInfo*. r=#dom-workers-and-storage Differential Revision: https://phabricator.services.mozilla.com/D101151
5dab23dae78f034bed62f7f3acd806e11cfb5c9c: Bug 1685677 - Harmonize LockedGetOriginInfosExceedingGroupLimits and LockedGetOriginInfosExceedingOverallLimits. r=#dom-workers-and-storage draft
Simon Giesecke <sgiesecke@mozilla.com> - Fri, 08 Jan 2021 11:15:52 +0100 - rev 3450212
Push 641700 by sgiesecke@mozilla.com at Thu, 14 Jan 2021 11:55:28 +0000
Bug 1685677 - Harmonize LockedGetOriginInfosExceedingGroupLimits and LockedGetOriginInfosExceedingOverallLimits. r=#dom-workers-and-storage Instead of inserting all elements into OriginInfo array, and then removing or skipping irrelevant entries, only insert the relevant ones in the first place, using a new utility function template MaybeAppendOriginInfos. Sort them by the LRU timestamp. Iterate over them to identify the threshold. Finally, truncate the array to the threshold position. Differential Revision: https://phabricator.services.mozilla.com/D101146
0547d0b882274fba5d5617844a12d082cb259812: Bug 1685677 - Extract functions from CheckTemporaryStorageLimits. r=#dom-workers-and-storage draft
Simon Giesecke <sgiesecke@mozilla.com> - Thu, 07 Jan 2021 18:28:25 +0100 - rev 3450211
Push 641700 by sgiesecke@mozilla.com at Thu, 14 Jan 2021 11:55:28 +0000
Bug 1685677 - Extract functions from CheckTemporaryStorageLimits. r=#dom-workers-and-storage Extracts parts of CheckTemporaryStorageLimits into the following new private member functions of QuotaManager: * LockedGetOriginInfosExceedingGroupLimits * LockedGetOriginInfosExceedingOverallLimits * RemoveQuotaForOrigins Differential Revision: https://phabricator.services.mozilla.com/D101145
1f5109a9c17bd5eb496f0eb0477fb93aeabd44c1: Bug 1685677 - Make QuotaManager members const/InitializedOnce where possible. r=#dom-workers-and-storage draft
Simon Giesecke <sgiesecke@mozilla.com> - Thu, 07 Jan 2021 16:32:11 +0100 - rev 3450210
Push 641700 by sgiesecke@mozilla.com at Thu, 14 Jan 2021 11:55:28 +0000
Bug 1685677 - Make QuotaManager members const/InitializedOnce where possible. r=#dom-workers-and-storage Differential Revision: https://phabricator.services.mozilla.com/D101144
da0bb262782071955687b29985ef89136d2d6709: Bug 1685679 - Add do_init function to allow assignment to InitializedOnce variables. r=janv draft
Simon Giesecke <sgiesecke@mozilla.com> - Fri, 08 Jan 2021 09:54:01 +0100 - rev 3450209
Push 641700 by sgiesecke@mozilla.com at Thu, 14 Jan 2021 11:55:28 +0000
Bug 1685679 - Add do_init function to allow assignment to InitializedOnce variables. r=janv Differential Revision: https://phabricator.services.mozilla.com/D101143
e3ac944af6789d430a8659e0a75b0f34d3ff1a0d: Bug 1685111 - Use CachingDatabaseConnection in localstorage's Connection. r=#dom-workers-and-storage draft
Simon Giesecke <sgiesecke@mozilla.com> - Wed, 06 Jan 2021 15:48:27 +0100 - rev 3450208
Push 641700 by sgiesecke@mozilla.com at Thu, 14 Jan 2021 11:55:28 +0000
Bug 1685111 - Use CachingDatabaseConnection in localstorage's Connection. r=#dom-workers-and-storage Along with that, uses of LS_TRY are introduced with the new functions provided by CachingDatabaseConnection. This also renames the free IsOnConnectionThread/AssertIsOnConnectionThread functions to IsOnGlobalConnectionThread/AssertIsOnGlobalConnectionThread to resolve a naming conflict. Differential Revision: https://phabricator.services.mozilla.com/D100924
53919ad009e288bc484832caa70ed26f78735fc2: Bug 1685111 - Extract CachingDatabaseConnection base class from indexedDB's DatabaseConnection. r=#dom-workers-and-storage draft
Simon Giesecke <sgiesecke@mozilla.com> - Wed, 06 Jan 2021 14:36:38 +0100 - rev 3450207
Push 641700 by sgiesecke@mozilla.com at Thu, 14 Jan 2021 11:55:28 +0000
Bug 1685111 - Extract CachingDatabaseConnection base class from indexedDB's DatabaseConnection. r=#dom-workers-and-storage Differential Revision: https://phabricator.services.mozilla.com/D100922
cc30099fd5c0d20eb82356f661af8aee14ab8928: Bug 1685279 - Change QuotaManager::ParseOrigin to return a Result<PrincipalInfo, nsresult>. r=#dom-workers-and-storage draft
Simon Giesecke <sgiesecke@mozilla.com> - Wed, 06 Jan 2021 12:51:44 +0100 - rev 3450206
Push 641700 by sgiesecke@mozilla.com at Thu, 14 Jan 2021 11:55:28 +0000
Bug 1685279 - Change QuotaManager::ParseOrigin to return a Result<PrincipalInfo, nsresult>. r=#dom-workers-and-storage ParseOrigin is only used to construct a PrincipalInfo, so it makes sense to return it directly. This also fixes an inconsistency: While the callers always created a ContentPrincipalInfo without checking the result, ParseOrigin was also able to handle a chrome origin, which should have been turned into a SystemPrincipal. Since this doesn't seem to be used, we now explicitly fail for a chrome origin. Differential Revision: https://phabricator.services.mozilla.com/D100889
5a27ca1e8c0ea343d2a5e1d58980896dd608bfcc: Bug 1685278 - Change GenerateOriginKey2 to return a Result. r=#dom-workers-and-storage draft
Simon Giesecke <sgiesecke@mozilla.com> - Wed, 06 Jan 2021 12:40:18 +0100 - rev 3450205
Push 641700 by sgiesecke@mozilla.com at Thu, 14 Jan 2021 11:55:28 +0000
Bug 1685278 - Change GenerateOriginKey2 to return a Result. r=#dom-workers-and-storage Differential Revision: https://phabricator.services.mozilla.com/D100888
5f8a60c3595beffaee43b1a0f9376a4f64884cc8: Bug 1685277 - Use QM_TRY in dom/localstorage/ActorsParent.cpp. r=#dom-workers-and-storage draft
Simon Giesecke <sgiesecke@mozilla.com> - Tue, 05 Jan 2021 17:16:59 +0100 - rev 3450204
Push 641700 by sgiesecke@mozilla.com at Thu, 14 Jan 2021 11:55:28 +0000
Bug 1685277 - Use QM_TRY in dom/localstorage/ActorsParent.cpp. r=#dom-workers-and-storage Differential Revision: https://phabricator.services.mozilla.com/D100887
e91b1a72c83faf625a7b6ab618931bb1fcaf95b7: Bug 1685098 - Use QM_TRY in dom/quota/ActorsParent.cpp. r=#dom-workers-and-storage draft
Simon Giesecke <sgiesecke@mozilla.com> - Tue, 05 Jan 2021 14:30:58 +0100 - rev 3450203
Push 641700 by sgiesecke@mozilla.com at Thu, 14 Jan 2021 11:55:28 +0000
Bug 1685098 - Use QM_TRY in dom/quota/ActorsParent.cpp. r=#dom-workers-and-storage Differential Revision: https://phabricator.services.mozilla.com/D100783
04f27b2ea5d9c82107017d7c34ef7063efa7a28b: Bug 1684912 - Call a handler in case a corrupted database file was detected. r=#dom-workers-and-storage draft
Simon Giesecke <sgiesecke@mozilla.com> - Tue, 05 Jan 2021 11:08:15 +0100 - rev 3450202
Push 641700 by sgiesecke@mozilla.com at Thu, 14 Jan 2021 11:55:28 +0000
Bug 1684912 - Call a handler in case a corrupted database file was detected. r=#dom-workers-and-storage The handler is called before opening the connection again. This does not restore the behaviour before Bug 1684912 exactly. In case removal of the usage or database file fails, the handler will not be called. Also, if the handler fails, the database will not be attempted to be recreated. Differential Revision: https://phabricator.services.mozilla.com/D100761
7963c70f30fddcc4808e8222a6db7806ea66edce: Bug 1683826 - Replace SanitizeOriginString by pure functions. r=#dom-workers-and-storage draft
Simon Giesecke <sgiesecke@mozilla.com> - Mon, 21 Dec 2020 18:10:49 +0100 - rev 3450201
Push 641700 by sgiesecke@mozilla.com at Thu, 14 Jan 2021 11:55:28 +0000
Bug 1683826 - Replace SanitizeOriginString by pure functions. r=#dom-workers-and-storage Differential Revision: https://phabricator.services.mozilla.com/D100318
7c4cc2f14e8f0fd49ae5d322fb99352aa37afb8c: Bug 1683828 - Use QM_TRY et al. in DBSchema. r=#dom-workers-and-storage draft
Simon Giesecke <sgiesecke@mozilla.com> - Mon, 04 Jan 2021 17:44:48 +0100 - rev 3450200
Push 641700 by sgiesecke@mozilla.com at Thu, 14 Jan 2021 11:55:28 +0000
Bug 1683828 - Use QM_TRY et al. in DBSchema. r=#dom-workers-and-storage Differential Revision: https://phabricator.services.mozilla.com/D100771
09e9785e875507baa669ae0dbf86000055132e3e: Bug 1683828 - Use QM_TRY et al. in QuotaClient. r=#dom-workers-and-storage draft
Simon Giesecke <sgiesecke@mozilla.com> - Mon, 04 Jan 2021 17:18:09 +0100 - rev 3450199
Push 641700 by sgiesecke@mozilla.com at Thu, 14 Jan 2021 11:55:28 +0000
Bug 1683828 - Use QM_TRY et al. in QuotaClient. r=#dom-workers-and-storage Differential Revision: https://phabricator.services.mozilla.com/D100770
3154a86a2e005d02ea20325f6512ac87328b6584: Bug 1683828 - Use QM_TRY et al. in Manager. r=#dom-workers-and-storage draft
Simon Giesecke <sgiesecke@mozilla.com> - Mon, 04 Jan 2021 17:03:06 +0100 - rev 3450198
Push 641700 by sgiesecke@mozilla.com at Thu, 14 Jan 2021 11:55:28 +0000
Bug 1683828 - Use QM_TRY et al. in Manager. r=#dom-workers-and-storage Differential Revision: https://phabricator.services.mozilla.com/D100769
552158dd238c3a22d25c9a4cc521a8f69e0cdad2: Bug 1683828 - Use QM_TRY et al. in CacheStorage. r=#dom-workers-and-storage draft
Simon Giesecke <sgiesecke@mozilla.com> - Mon, 04 Jan 2021 15:34:31 +0100 - rev 3450197
Push 641700 by sgiesecke@mozilla.com at Thu, 14 Jan 2021 11:55:28 +0000
Bug 1683828 - Use QM_TRY et al. in CacheStorage. r=#dom-workers-and-storage Differential Revision: https://phabricator.services.mozilla.com/D100768
f2e32c96bbf6f4b1e9fae1f1f25651d43aed14ca: Bug 1683828 - Use QM_TRY et al. in Cache. r=#dom-workers-and-storage draft
Simon Giesecke <sgiesecke@mozilla.com> - Mon, 04 Jan 2021 15:06:18 +0100 - rev 3450196
Push 641700 by sgiesecke@mozilla.com at Thu, 14 Jan 2021 11:55:28 +0000
Bug 1683828 - Use QM_TRY et al. in Cache. r=#dom-workers-and-storage Differential Revision: https://phabricator.services.mozilla.com/D100767
(0) -3000000 -1000000 -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 +300000 +1000000 tip