Jan Varga
64d2674507
Bug 1659689 - QM: Change return type of LoadCacheVersion to Result<int32_t, nsresult>; r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D87430
2020-08-21 05:44:19 +00:00
Jan Varga
ee8d613f32
Bug 1659689 - QM: Change return type of LoadLocalStorageArchiveVersion to Result<int32_t, nsresult>; r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D87429
2020-08-21 05:11:14 +00:00
Jan Varga
2d14cadbbe
Bug 1659689 - QM: Change return type of IsLocalStorageArchiveInitialized to Result<bool, nsresult>; r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D87428
2020-08-21 05:11:11 +00:00
Jan Varga
d238a70396
Bug 1659683 - QM: Record first initialization attempt directly in UpgradeStorageFrom* functions; r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D87426
2020-08-21 05:11:03 +00:00
Jan Varga
14808faf69
Bug 1659683 - QM: Record first initialization attempt directly in UpgradeFromPersistentStorageDirectoryToDefaultStorageDirectory; r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D87425
2020-08-21 05:11:00 +00:00
Jan Varga
a07b1845e7
Bug 1659683 - QM: Record first initialization attempt directly in UpgradeFromIndexedDBDirectoryToPersistentStorageDirectory; r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D87424
2020-08-21 05:16:40 +00:00
Jan Varga
8c74711517
Bug 1658874 - Change return type of QuotaManager::CreateLocalStorageArchiveConnection to Result<V, E>; r=dom-workers-and-storage-reviewers,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D86913
2020-08-20 11:04:05 +00:00
Jan Varga
56128d1bfc
Bug 1658324 - Convert most of the error handling in QuotaManager::EnsureStorageIsInitialized to QM_TRY/QM_TRY_VAR; r=dom-workers-and-storage-reviewers,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D86560
2020-08-20 13:32:21 +00:00
Butkovits Atila
850817430e
Backed out 3 changesets (bug 1658874, bug 1658324, bug 1659660) for bustage at ActorsParent.cpp. CLOSED TREE
...
Backed out changeset b69e256013a3 (bug 1659660)
Backed out changeset 4939692a9047 (bug 1658874)
Backed out changeset e27fb7cd29fe (bug 1658324)
2020-08-20 13:57:20 +03:00
Jan Varga
33dc9faddb
Bug 1658874 - Change return type of QuotaManager::CreateLocalStorageArchiveConnection to Result<V, E>; r=dom-workers-and-storage-reviewers,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D86913
2020-08-20 08:52:34 +00:00
Jan Varga
21c2588147
Bug 1658324 - Convert most of the error handling in QuotaManager::EnsureStorageIsInitialized to QM_TRY/QM_TRY_VAR; r=dom-workers-and-storage-reviewers,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D86560
2020-08-20 07:32:05 +00:00
Tom Tung
f3e1fbf443
Bug 1609625 - Align the name of key for TimeStamp errors; r=dom-workers-and-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D87610
2020-08-19 16:33:09 +00:00
Tom Tung
e116198cc4
Bug 1609625 - Deal with recorded time duration if it across sleep/wake; r=dom-workers-and-storage-reviewers,sg,janv
...
Depends on D83305
Differential Revision: https://phabricator.services.mozilla.com/D83524
2020-08-18 07:31:24 +00:00
Tom Tung
93f8af72df
Bug 1609625 - Remove the probe for tracking time duration on initializing repositories and add a probe for tracking time duration on loading quota; r=dom-workers-and-storage-reviewers,sg,janv
...
Depends on D83304
Differential Revision: https://phabricator.services.mozilla.com/D83305
2020-08-18 07:53:15 +00:00
Jan Varga
246bfa7db7
Bug 1659962 - Add additional MOZ_ARG_* macros; r=jwalden
...
Differential Revision: https://phabricator.services.mozilla.com/D87579
2020-08-19 14:31:40 +00:00
Jan Varga
4d6fbf54e6
Bug 1658873 - Support variable declaration containing commas in QM_TRY_VAR; r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D86912
2020-08-18 08:25:49 +00:00
Jan Varga
918c62f869
Bug 1658872 - Replace MOZ_PASTE with MOZ_CONCAT in MOZ_UNIQUE_VAR definition; r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D86911
2020-08-18 08:23:34 +00:00
Simon Giesecke
1fccb4c60f
Bug 1634436 - Make cipher-strategy stateful and keep mode, key and IV as state. r=dom-workers-and-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D80014
2020-08-17 08:42:20 +00:00
Emilio Cobos Álvarez
0c03ba166c
Bug 1658471 - Remove dom.security.featurePolicy.enabled. r=baku
...
We've shipped it on by default since 74 (bug 1617219).
Differential Revision: https://phabricator.services.mozilla.com/D86665
2020-08-12 10:57:04 +00:00
Jan Varga
c35198fb73
Bug 1658504 - Support declaration of variables in QM_TRY_VAR; r=dom-workers-and-storage-reviewers,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D86685
2020-08-11 11:17:56 +00:00
Simon Giesecke
1e02318b49
Bug 1653335 - Replace MakeSpan uses by constructor calls. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D83817
2020-08-07 07:49:47 +00:00
Simon Giesecke
96f3e7e019
Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D84807
2020-08-04 11:27:07 +00:00
Noemi Erli
381fca9783
Backed out 4 changesets (bug 1654992, bug 1654991) for causing timeous in mask-opacity-1e.html
...
Backed out changeset 11f0f54c6e0a (bug 1654992)
Backed out changeset a353dd5b3f08 (bug 1654991)
Backed out changeset 6a7964ba549f (bug 1654991)
Backed out changeset cf3bfb91d98c (bug 1654991)
2020-08-03 22:09:36 +03:00
Simon Giesecke
032d2ac9d3
Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D84807
2020-08-03 14:54:18 +00:00
Jan Varga
deee6a2007
Bug 1651016 - Allow definition of module specific TRY/TRY_VAR macros using generic QM_TRY_META/QM_TRY_VAR_META macros; r=dom-workers-and-storage-reviewers,ttung,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D84313
2020-07-24 07:01:37 +00:00
Jan Varga
58d6af1651
Bug 1651016 - Convert remaining NS_ENSURE_SUCCESS to QM_TRY in FileStreams.cpp; r=dom-workers-and-storage-reviewers,ttung,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D84312
2020-07-24 07:01:36 +00:00
Jan Varga
f504378166
Bug 1651016 - Convert remaining NS_ENSURE_SUCCESS to QM_TRY in ActorsParent.cpp; r=dom-workers-and-storage-reviewers,ttung,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D83958
2020-07-24 07:01:36 +00:00
Jan Varga
8e9d12cff6
Bug 1651016 - Convert remaining NS_ENSURE_TRUE to QM_TRY; r=ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D83953
2020-07-24 07:01:36 +00:00
Jan Varga
d9083e868b
Bug 1651016 - Convert NS_ENSURE_SUCCESS and NS_ENSURE_TRUE in EnsureDirectory; r=dom-workers-and-storage-reviewers,ttung,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D83931
2020-07-24 07:01:36 +00:00
Jan Varga
efff70bde9
Bug 1651016 - Allow MOZ_TRY/QM_TRY to handle nsresult values and optionally enforce success for some special values; r=ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D83929
2020-07-24 07:01:35 +00:00
Jan Varga
4c3f248c7a
Bug 1651016 - Allow MOZ_TRY/QM_TRY to handle bool values by wrapping them with OkIf; r=dom-workers-and-storage-reviewers,ttung,sg,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D83928
2020-07-24 10:20:42 +00:00
Jan Varga
7ae4b87c84
Bug 1651016 - Introduce QM_TRY and QM_TRY_VAR macros; r=dom-workers-and-storage-reviewers,ttung,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D83927
2020-07-24 07:11:24 +00:00
Andreea Pavel
fe64f78ef1
Backed out changeset c5a8759b3f85 (bug 1651016) for build bustages at gtest.h on a CLOSED TREE
2020-07-24 09:59:44 +03:00
Jan Varga
89a2c67112
Bug 1651016 - Introduce QM_TRY and QM_TRY_VAR macros; r=dom-workers-and-storage-reviewers,ttung,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D83927
2020-07-24 06:35:07 +00:00
Mihai Alexandru Michis
74e45489fa
Backed out 9 changesets (bug 1651016) for causing hazard failures in TestQuotaCommon.cpp
...
CLOSED TREE
Backed out changeset 5e566996d34e (bug 1651016)
Backed out changeset 002ddedb37dc (bug 1651016)
Backed out changeset aed04f32eb91 (bug 1651016)
Backed out changeset 2f4529e62cd3 (bug 1651016)
Backed out changeset 8f2aa854a083 (bug 1651016)
Backed out changeset 7f6eb1658a16 (bug 1651016)
Backed out changeset 5d5b249ca664 (bug 1651016)
Backed out changeset 9142d4249c29 (bug 1651016)
Backed out changeset 8d2cc761e5ba (bug 1651016)
2020-07-24 00:00:55 +03:00
Jan Varga
da90942030
Bug 1651016 - Allow definition of module specific TRY/TRY_VAR macros using generic QM_TRY_META/QM_TRY_VAR_META macros; r=dom-workers-and-storage-reviewers,ttung,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D84313
2020-07-23 09:18:29 +00:00
Jan Varga
82f28d2c55
Bug 1651016 - Convert remaining NS_ENSURE_SUCCESS to QM_TRY in FileStreams.cpp; r=dom-workers-and-storage-reviewers,ttung,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D84312
2020-07-23 09:18:22 +00:00
Jan Varga
d380b48ae6
Bug 1651016 - Convert remaining NS_ENSURE_SUCCESS to QM_TRY in ActorsParent.cpp; r=dom-workers-and-storage-reviewers,ttung,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D83958
2020-07-23 09:18:05 +00:00
Jan Varga
0c646b6416
Bug 1651016 - Convert remaining NS_ENSURE_TRUE to QM_TRY; r=ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D83953
2020-07-23 18:29:02 +00:00
Jan Varga
c83c17ecd2
Bug 1651016 - Convert NS_ENSURE_SUCCESS and NS_ENSURE_TRUE in EnsureDirectory; r=dom-workers-and-storage-reviewers,ttung,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D83931
2020-07-23 09:17:29 +00:00
Jan Varga
6962e6e3b7
Bug 1651016 - Allow MOZ_TRY/QM_TRY to handle nsresult values and optionally enforce success for some special values; r=ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D83929
2020-07-23 18:29:53 +00:00
Jan Varga
8bb9a5e834
Bug 1651016 - Allow MOZ_TRY/QM_TRY to handle bool values by wrapping them with OkIf; r=dom-workers-and-storage-reviewers,ttung,sg,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D83928
2020-07-23 18:13:32 +00:00
Jan Varga
a14d13c5e0
Bug 1651016 - Introduce QM_TRY and QM_TRY_VAR macros; r=dom-workers-and-storage-reviewers,ttung,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D83927
2020-07-23 09:17:00 +00:00
Doug Thayer
8f54209ef6
Bug 1651165 - Rename idle service r=Gijs,geckoview-reviewers,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D83413
2020-07-20 16:06:59 +00:00
Tom Tung
63e00f01a8
Bug 1614397 - Remove the temporary telemetry probe for tracking temporary storage initialization time; r=dom-workers-and-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D83304
2020-07-13 13:54:04 +00:00
Jan Varga
7b8ef5617f
Bug 1621920 - Convert SDB client to use the new macro for warning about unknown stuff and add handling of unknown directories in SDB client directory; r=dom-workers-and-storage-reviewers,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D81690
2020-07-02 07:20:06 +00:00
Jan Varga
0829d2432e
Bug 1649393 - Remove old IDB files directories during 1.0 to 2.0 storage upgrade; r=dom-workers-and-storage-reviewers,ttung
...
If an old IDB files directory exists, it no longer causes a failure during the
storage upgrade. The directory is removed instead.
Differential Revision: https://phabricator.services.mozilla.com/D81870
2020-07-01 16:07:56 +00:00
Simon Giesecke
c151383a4a
Bug 1649503 - Fix behaviour of UsageInfo. r=dom-workers-and-storage-reviewers,janv
...
Depends on D81829
Differential Revision: https://phabricator.services.mozilla.com/D81830
2020-07-01 10:38:46 +00:00
Simon Giesecke
4db9224db5
Bug 1649503 - Add tests for UsageInfo. r=dom-workers-and-storage-reviewers,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D81829
2020-07-01 10:32:39 +00:00
Simon Giesecke
9364b353d4
Bug 1648010 - Remove NS_NAMED_LITERAL_CSTRING and NS_NAMED_LITERAL_STRING macros. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D80631
2020-07-01 08:42:31 +00:00