Jan Varga
a19671cf78
Bug 1619592 - Remove unused EnsureStorageAndOriginIsInitialized method; r=dom-workers-and-storage-reviewers,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D65939
2020-11-19 15:42:19 +00:00
Jan Varga
c67cbb0b15
Bug 1619592 - Add initializePersistentOrigin and initializeTemporaryOrigin to nsIQuotaManagerService; r=dom-workers-and-storage-reviewers,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D97255
2020-11-19 14:38:17 +00:00
Jan Varga
a7d7c361aa
Bug 1619592 - Remove unused aClientType argument in EnsureStorageAndOriginIsInitialized; r=dom-workers-and-storage-reviewers,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D97253
2020-11-17 08:37:00 +00:00
Jan Varga
0d91cacd5b
Bug 1624802 - Add a method for retrieving storage name in tests; r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D73144
2020-05-05 06:25:18 +00:00
Jan Varga
188bead06b
Bug 1619592 - Update selected operations to not implicitly initialize storage; r=dom-workers-and-storage-reviewers,sg
...
All initialization related operations, the clear all operation and reset
operations now fail if storage is not initialized. All other operations make
sure storage is initialized by setting the mNeedsStorageInit flag.
DirectoryWork() for these operations now assert that storage is initialized.
Differential Revision: https://phabricator.services.mozilla.com/D65938
--HG--
extra : moz-landing-system : lando
2020-03-17 13:07:23 +00:00
Jan Varga
e5f5d6eb65
Bug 1619592 - Remove aResetAll param from nsIQuotaManagerService::ResetStoragesForPrincipal; r=dom-workers-and-storage-reviewers,sg
...
The aResetAll param has been removed from resetStoragesForPrincipal since
there's no use case for it right now (if there's a use case for it in future, it
should be handled by a separate method like resetOriginsByPrefix).
Differential Revision: https://phabricator.services.mozilla.com/D66951
--HG--
extra : moz-landing-system : lando
2020-03-17 13:01:38 +00:00
Jan Varga
34927b46f0
Bug 1616003 - QM: Make it possible to verify initialization status from unit tests; r=ttung,dom-workers-and-storage-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D63052
--HG--
extra : moz-landing-system : lando
2020-02-22 07:57:28 +00:00
Jan Varga
0e36a593fa
Bug 1615998 - QM: Remove nsIQuotaOriginsResult interface; r=ttung,dom-workers-and-storage-reviewers,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D63051
--HG--
extra : moz-landing-system : lando
2020-02-22 01:03:26 +00:00
Jan Varga
6ba032116d
Bug 1592934 - Refactor some storage initialization methods before adding new telemetry probes; r=ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D54307
--HG--
extra : moz-landing-system : lando
2019-11-25 15:04:43 +00:00
Tom Tung
c0f0ba97a7
Bug 1584986 - P2 - Rename listInitializedOrigins to listOrigins; r=asuth,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D47741
--HG--
rename : dom/quota/test/unit/test_listInitializedOrigins.js => dom/quota/test/unit/test_listOrigins.js
extra : moz-landing-system : lando
2019-10-02 07:57:52 +00:00
Oana Pop Rus
cb6253f70e
Backed out 3 changesets (bug 1584986) for xpcshell failures in dom/quota/test/unit/test_listOrigins.js on a CLOSED TREE
...
Backed out changeset 8fc63769342e (bug 1584986)
Backed out changeset ec44603ce08a (bug 1584986)
Backed out changeset 0fc3d50b822e (bug 1584986)
--HG--
rename : dom/quota/test/unit/test_listOrigins.js => dom/quota/test/unit/test_listInitializedOrigins.js
2019-10-02 07:50:10 +03:00
Tom Tung
a9e251b07f
Bug 1584986 - P2 - Rename listInitializedOrigins to listOrigins; r=asuth,johannh
...
Depends on D47740
Differential Revision: https://phabricator.services.mozilla.com/D47741
--HG--
rename : dom/quota/test/unit/test_listInitializedOrigins.js => dom/quota/test/unit/test_listOrigins.js
extra : moz-landing-system : lando
2019-10-01 13:29:52 +00:00
Gurzau Raul
e4ce5cd90c
Backed out changeset cbce223800c1 (bug 1540247) for xpcshell failures at test_obsoleteOrigins.js on a CLOSED TREE.
2019-08-28 19:47:27 +03:00
Simon Giesecke
fc1e20f375
Bug 1540247 - Expose MozURL::Init to JS for QuotaManager tests r=ttung,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D39207
--HG--
extra : moz-landing-system : lando
2019-08-27 18:14:35 +00:00
Jan Varga
9ab967ef1e
Bug 1563023 - Part 2: Add support for getting origin usage from memory; r=asuth
...
This patch modifies getUsageForPrincipal to support getting origin usage from
memory. Support for getting group usage is factored out to a standalone method
called Estimate.
Operations based on NormalOriginOperationBase can now avoid directory locking
if they don't touch disk.
Differential Revision: https://phabricator.services.mozilla.com/D38087
--HG--
extra : moz-landing-system : lando
2019-08-22 20:51:09 +00:00
Andrea Marchesini
f8565bf748
Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D29353
--HG--
extra : moz-landing-system : lando
2019-05-03 17:13:17 +00:00
Bogdan Tara
386d23bfe7
Backed out 4 changesets (bug 1320404) for test_permmanager_load_invalid_entries.js failures
...
Backed out changeset 7c2f4e64d38e (bug 1320404)
Backed out changeset a7e7c0251179 (bug 1320404)
Backed out changeset dd741b25a244 (bug 1320404)
Backed out changeset de9073c57d20 (bug 1320404)
2019-05-03 06:12:25 +03:00
Andrea Marchesini
138cee6dea
Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D29353
--HG--
extra : moz-landing-system : lando
2019-05-02 17:24:51 +00:00
Cosmin Sabou
a884fb99d8
Backed out 4 changesets (bug 1320404) for xperf failures on permissions.sqlite-journal.
...
Backed out changeset fbacf18b6532 (bug 1320404)
Backed out changeset fed7c475d75c (bug 1320404)
Backed out changeset 557b586f774a (bug 1320404)
Backed out changeset 5a20b5f43280 (bug 1320404)
2019-05-02 04:51:18 +03:00
Andrea Marchesini
7e61125d8f
Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D29353
--HG--
extra : moz-landing-system : lando
2019-05-01 23:21:45 +00:00
Tom Tung
004e68cddc
Bug 1529301 - P1 - Have a method to get origins only on QuotaManagerService; r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D21723
--HG--
extra : moz-landing-system : lando
2019-03-20 17:54:08 +00:00
Jan Varga
d4d5f86d82
Bug 1286798 - Part 49: Add clearStoragesForPattern() method to the quota manager service; r=asuth
2018-11-29 21:49:52 +01:00
Jan Varga
b968ceb813
Bug 1286798 - Part 18: Verify that data is persisted on disk; r=asuth,mrbkap
...
New methods open() and close() are added to the Storage WebIDL interface. They are only available when a pref is set and are only intended for testing. There's also a new method resetStoragesForPrincipal() which is used as a callback for close() since datastores don't release directory locks immediately. resetStoragesForPrincipal() requests an exclusive lock for given origin, so it must wait for any exising shared locks to be released.
2018-11-29 21:48:11 +01:00
Jan Varga
709a73dabf
Bug 1286798 - Part 14: Enhance clearStoragesForPrincipal() to support clearing of storages for specific quota client; r=asuth
...
See also bug 1402254, original patch by baku.
2018-11-29 21:47:58 +01:00
Tom Tung
8e0aa26fa8
Bug 1495687 - Introduce initTemporaryStorage to nsIQuotaManagerService for testing; r=janv
...
--HG--
extra : rebase_source : c38521eaf9f9c204971049b959efc5113ae86baa
2018-10-02 16:08:43 +02:00
Jan Varga
08e526c841
Bug 1348660 - Part 5: Implement a method to retrieve usage data for all origins at once; r=btseng
2017-03-22 12:14:04 +01:00
Tom Tung
b21732dac3
Bug 1298329 - Part 1: Implement persist/persisted in QuotaManager and expose them to QuotaManagerService; r=janv
2016-08-25 10:19:31 +08:00
Jan Varga
61fe32371f
Bug 1339081 - Part 5: Add a method for testing origin initialization; r=asuth
2017-03-06 18:39:33 +01:00
Jan Varga
9c49950e02
Bug 1339081 - Part 3: Split OriginClearOp to make code more readable and cleaner; r=asuth
2017-03-06 18:39:25 +01:00
Jan Varga
528102ba20
Bug 1339081 - Part 2: Add a method for testing storage initialization; r=asuth
2017-03-06 18:39:21 +01:00
Tim Huang
5277f5e7aa
Bug 1278037 - Part 3: Modify the nsIQuotaManagerService.clearStoragesForPrincipal() for clearing all storages under the given origin. r=janv
...
--HG--
extra : rebase_source : a7fdc05823bf274258588cd682bc2698d39b452d
extra : histedit_source : 4222585575bb96126cd8bca7e2c342d121535752
2016-08-17 14:46:16 +08:00
Jan Varga
787316fb6a
Bug 1297056 - Use [must_use] in dom/quota; r=asuth
2016-08-23 08:03:25 +08:00
Tom Tung
3b07e666f0
Bug 1281103 - Support getting the group usage and the limit in QuotaManagerService. r=janv.
...
--HG--
extra : rebase_source : 609795f25eeab0d96f962799629e4e81492fb087
2016-06-24 10:24:06 +08:00
Jan Varga
38ee7f95d8
Bug 961049 - Part 4: QuotaManager on PBackground core changes; r=baku
...
--HG--
rename : dom/quota/QuotaManager.cpp => dom/quota/ActorsParent.cpp
rename : dom/quota/nsIUsageCallback.idl => dom/quota/nsIQuotaCallbacks.idl
rename : dom/quota/nsIQuotaManager.idl => dom/quota/nsIQuotaManagerService.idl
rename : dom/quota/nsIQuotaRequest.idl => dom/quota/nsIQuotaRequests.idl
2015-11-22 10:43:55 +01:00