Jan Varga
29600e3ad5
Bug 1840770 - Move PQuotaParent implementation to separate source files; r=dom-storage-reviewers,jari
...
Differential Revision: https://phabricator.services.mozilla.com/D182307
2023-07-13 09:57:18 +00:00
Jan Varga
edf6740d00
Bug 1840545 - Move all origin operations to separate files; r=dom-storage-reviewers,jari
...
Differential Revision: https://phabricator.services.mozilla.com/D182186
2023-07-13 09:57:17 +00:00
Jan Varga
288dec2a12
Bug 1840545 - Move QuotaRequestBase to separate files; r=dom-storage-reviewers,jari
...
Differential Revision: https://phabricator.services.mozilla.com/D182185
2023-07-13 09:57:17 +00:00
Jan Varga
b7e8bf5b69
Bug 1840545 - Move QuotaUsageRequestBase to separate files; r=dom-storage-reviewers,jari
...
Differential Revision: https://phabricator.services.mozilla.com/D182184
2023-07-13 09:57:16 +00:00
Jan Varga
0f448e4f8a
Bug 1840545 - Move NormalOriginOperationBase to separate files; r=dom-storage-reviewers,jari
...
Differential Revision: https://phabricator.services.mozilla.com/D182176
2023-07-04 15:33:39 +00:00
Jan Varga
1fc9807fcd
Bug 1840545 - Move OriginOperationBase to separate files; r=dom-storage-reviewers,jari
...
Differential Revision: https://phabricator.services.mozilla.com/D182175
2023-07-04 15:33:39 +00:00
Jan Varga
9d981e45a3
Bug 1840545 - Move some file utils to separate files; r=dom-storage-reviewers,jari
...
Differential Revision: https://phabricator.services.mozilla.com/D182174
2023-07-04 15:33:39 +00:00
Jan Varga
2a5b096e52
Bug 1839417 - Move stream helpers to separate files; r=dom-storage-reviewers,asuth
...
(needed for moving operations outside ActorsParent.cpp)
Differential Revision: https://phabricator.services.mozilla.com/D181480
2023-06-22 08:04:17 +00:00
Jan Varga
120b8693b5
Bug 1839417 - Move sanitization methods to separate files; r=dom-storage-reviewers,asuth
...
(needed for moving operations outside ActorsParent.cpp)
Differential Revision: https://phabricator.services.mozilla.com/D181479
2023-06-22 08:04:16 +00:00
Jan Varga
35c8888ab1
Bug 1839417 - Remove duplicated code for assertions; r=dom-storage-reviewers,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D181476
2023-06-21 09:09:51 +00:00
Cristina Horotan
880f30b1d8
Backed out 5 changesets (bug 1839417) for causing build bustage at ActorsParent.cpp CLOSED TREE
...
Backed out changeset e975cb149fac (bug 1839417)
Backed out changeset 6f275561722e (bug 1839417)
Backed out changeset 193493b296e0 (bug 1839417)
Backed out changeset c81f0e408508 (bug 1839417)
Backed out changeset c05804783908 (bug 1839417)
2023-06-21 10:33:52 +03:00
Jan Varga
1eb0f77e63
Bug 1839417 - Move stream helpers to separate files; r=dom-storage-reviewers,asuth
...
(needed for moving operations outside ActorsParent.cpp)
Differential Revision: https://phabricator.services.mozilla.com/D181480
2023-06-21 03:15:33 +00:00
Jan Varga
fe3823a64b
Bug 1839417 - Move sanitization methods to separate files; r=dom-storage-reviewers,asuth
...
(needed for moving operations outside ActorsParent.cpp)
Differential Revision: https://phabricator.services.mozilla.com/D181479
2023-06-21 03:15:33 +00:00
Jan Varga
37fc148931
Bug 1839417 - Remove duplicated code for assertions; r=dom-storage-reviewers,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D181476
2023-06-21 03:15:33 +00:00
Jan Varga
25794317cc
Bug 1781201 - Generate unique anonymous origins for private browsing; r=hsingh
...
The generated origins are cached in a hash map. There's also a hash map for
getting the original origin from a generated origin which will be needed for
metadata loading once generated origins are actually used for creating origin
directories and for creating metadata files.
The patch is partially based on D176751.
Differential Revision: https://phabricator.services.mozilla.com/D176875
2023-05-04 04:50:43 +00:00
Natalia Csoregi
b8b793fec3
Backed out 13 changesets (bug 1831040, bug 1829814, bug 1831046, bug 1831039, bug 1781201, bug 1829819, bug 1830887) for causing failures on test_upgrade_add_index.html. CLOSED TREE
...
Backed out changeset 0c3955157c7b (bug 1830887)
Backed out changeset 4f0b25db66d8 (bug 1831040)
Backed out changeset c503469bc048 (bug 1829814)
Backed out changeset 1a3dbef50207 (bug 1829819)
Backed out changeset 2c78a126281e (bug 1831046)
Backed out changeset 37aede27e09d (bug 1831039)
Backed out changeset bafee1f02404 (bug 1781201)
Backed out changeset 11c291dd3fb0 (bug 1781201)
Backed out changeset 2b8747b30bba (bug 1781201)
Backed out changeset 2b8e694fbfb9 (bug 1781201)
Backed out changeset e4ac26a5b071 (bug 1781201)
Backed out changeset a3ae636a90fe (bug 1781201)
Backed out changeset 236d1112bc5b (bug 1781201)
2023-05-04 02:27:58 +03:00
Jan Varga
915fb54734
Bug 1781201 - Generate unique anonymous origins for private browsing; r=hsingh
...
The generated origins are cached in a hash map. There's also a hash map for
getting the original origin from a generated origin which will be needed for
metadata loading once generated origins are actually used for creating origin
directories and for creating metadata files.
The patch is partially based on D176751.
Differential Revision: https://phabricator.services.mozilla.com/D176875
2023-05-03 18:36:08 +00:00
Jan Varga
43c67f4017
Bug 1809035 - Add DEBUGONLY macro; r=dom-storage-reviewers,jari
...
Differential Revision: https://phabricator.services.mozilla.com/D167367
2023-01-20 14:26:43 +00:00
Jan Varga
d8c72a61aa
Bug 1791750 - Introduce RemoteQuotaObjectParentTracker; r=dom-storage-reviewers,jari
...
Quota clients need a way to track RemoteQuotaObjectParents, so they can release
their directory locks only when RemoteQuotaObjectParents are destroyed (which
releases the CanonicalQuotaObject).
Differential Revision: https://phabricator.services.mozilla.com/D164341
2022-12-16 06:38:12 +00:00
Jan Varga
323253d8d7
Bug 1791750 - Add support for using QuotaObject in content processes; r=ipc-reviewers,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D157822
2022-12-16 06:38:12 +00:00
Jan Varga
0db5084618
Bug 1791758 - Transform current QuotaObject into a canonical QuotaObject dedicated for parent process only; r=dom-storage-reviewers,jesup
...
Differential Revision: https://phabricator.services.mozilla.com/D157816
2022-10-28 09:04:48 +00:00
Jan Varga
0f575aa31c
Bug 1791755 - Extract OriginInfo, GroupInfo, GroupInfoPair and QuotaObject into separate source files; r=dom-storage-reviewers,jesup
...
Differential Revision: https://phabricator.services.mozilla.com/D157815
2022-10-28 08:22:49 +00:00
Jan Varga
9cbe906b70
Bug 1791730 - Remove MemoryOutputStream; r=dom-storage-reviewers,jesup
...
Differential Revision: https://phabricator.services.mozilla.com/D157792
2022-10-27 10:25:12 +00:00
Jari Jalkanen
e354e38307
Bug 1759152 - Expose file system to workers. r=dom-storage-reviewers,jesup,janv
...
Depends on D149983
Differential Revision: https://phabricator.services.mozilla.com/D140862
2022-07-18 09:18:27 +00:00
smolnar
5ecfe80ddd
Backed out changeset dd96cc22ca4d (bug 1759152) for causing gtest crashes. CLOSED TREE
2022-07-18 10:03:51 +03:00
Jari Jalkanen
848caa7913
Bug 1759152 - Expose file system to workers. r=dom-storage-reviewers,jesup,janv
...
Depends on D149983
Differential Revision: https://phabricator.services.mozilla.com/D140862
2022-07-18 06:22:14 +00:00
Jan Varga
8b2ddb2b2c
Bug 1702600 - Move ClientUsageArray class to separate source files; r=dom-storage-reviewers,jstutte
...
This will enable writting a gtest for the class.
Differential Revision: https://phabricator.services.mozilla.com/D148479
2022-06-07 15:01:54 +00:00
Chris Peterson
f6fdbf028a
Bug 1738401 - Remove -Wno-shadow warning suppressions. r=firefox-build-system-reviewers,glandium
...
-Wshadow warnings are not enabled globally, so these -Wno-shadow suppressions have no effect. I had intended to enable -Wshadow globally along with these suppressions in some directories (in bug 1272513), but that was blocked by other issues.
There are too many -Wshadow warnings (now over 2000) to realistically fix them all. We should remove all these unnecessary -Wno-shadow flags cluttering many moz.build files.
Differential Revision: https://phabricator.services.mozilla.com/D132289
2021-12-01 06:40:04 +00:00
Jan Varga
ff4cf60eb4
Bug 1731962
- Move ToResultGet from QuotaCommon.h to ResultExtensions.h; r=dom-storage-reviewers,jari
...
Differential Revision: https://phabricator.services.mozilla.com/D126326
2021-11-30 05:05:51 +00:00
Jan Varga
adc8da34e9
Bug 1731960 - Move all Result extensions from QMResult.h to a dedicated file; r=dom-storage-reviewers,jari
...
Differential Revision: https://phabricator.services.mozilla.com/D126324
2021-11-30 05:05:51 +00:00
Haiyang Xu
35ca020a6b
Bug 1722466 - Add an RAII helper class QuotaDatabaseAutoAttacher to ensure database will be detached automatically in scope exit if any error happens before explicitly detach; r=dom-storage-reviewers,janv
...
This patch add an RAII helper class QuotaDatabaseAutoAttacher, which provides an Attach() and Detach() method, and guarantees that the database will be detached in it's destructor when an instance of this class is out of scope.
Differential Revision: https://phabricator.services.mozilla.com/D128042
2021-11-05 10:39:45 +00:00
Jan Varga
eb2d4109e9
Bug 1734151 - Add MaybeRecordQuotaManagerShutdownStepWith and use it in cases when the string must be dynamically generated; r=hxu
...
Differential Revision: https://phabricator.services.mozilla.com/D127548
2021-10-12 12:29:43 +00:00
Jan Varga
28f6cf6f67
Bug 1718190 - QM: Move ScopedLogExtraInfo into own h/cpp files; r=dom-storage-reviewers,jstutte
...
Differential Revision: https://phabricator.services.mozilla.com/D118807
2021-06-25 10:21:27 +00:00
Jan Varga
e6e7042dab
Bug 1716568 - Extract first initialization attempts handling into a generic (templatized) class; r=dom-storage-reviewers,jstutte
...
Differential Revision: https://phabricator.services.mozilla.com/D118140
2021-06-23 21:26:10 +00:00
Jan Varga
3a8312aeeb
Bug 1716568 - Move implementation details of InitializationInfo to a cpp file; r=dom-storage-reviewers,jstutte
...
Differential Revision: https://phabricator.services.mozilla.com/D118131
2021-06-23 21:26:07 +00:00
Jan Varga
74cdcac137
Bug 1713820 - Add dedicated QM_LOG_ERROR_ENABLED identifier for conditional LogError compilation; r=dom-storage-reviewers,jstutte
...
Differential Revision: https://phabricator.services.mozilla.com/D117132
2021-06-08 16:27:28 +00:00
Jan Varga
01123f15c4
Bug 1709352 - Add ToResult function for QMResult; r=dom-storage-reviewers,jstutte,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D114242
2021-05-25 07:28:19 +00:00
Jan Varga
3f78809e7b
Bug 1709352 - Introduce QMResult; r=dom-storage-reviewers,jstutte
...
Differential Revision: https://phabricator.services.mozilla.com/D114241
2021-05-25 07:28:19 +00:00
Simon Giesecke
7d2448b7d5
Bug 1641178 - Add NSSCipherStrategy. r=dom-workers-and-storage-reviewers,jcj,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D73290
2021-03-12 09:31:57 +00:00
Jan Varga
1cc0ba995e
Bug 1686031 - Rename OriginMetadata.h to CommonMetadata.h; r=dom-storage-reviewers,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D107608
2021-03-11 05:53:17 +00:00
Butkovits Atila
22e752e996
Backed out changeset 8f7c25b71590 (bug 1641178) for causing GTest failures. CLOSED TREE
2021-02-24 18:14:23 +02:00
Simon Giesecke
e09b49aa3d
Bug 1641178 - Add NSSCipherStrategy. r=dom-workers-and-storage-reviewers,jcj,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D73290
2021-02-24 13:18:24 +00:00
Jan Varga
832c277718
Bug 1686031 - Fold QuotaInfo into OriginMetadata and rename QuotaInfo.h to OriginMetadata.h; r=dom-storage-reviewers,sg
...
Existing uses of OriginMetadata (with only mGroup and mOrigin) have been
adapted and they now always initialize mSuffix to an empty string.
Following patches will change it to real suffix if there's any.
Differential Revision: https://phabricator.services.mozilla.com/D104971
2021-02-12 21:43:42 +00:00
Jan Varga
5e9556369c
Bug 1690025 - Move DirectoryLockImpl class to separate files; r=dom-storage-reviewers,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D104163
2021-02-09 10:42:23 +00:00
Jan Varga
9e117b1b8d
Bug 1690025 - Move DirectoryLock class to a separate file; r=dom-storage-reviewers,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D104154
2021-02-09 10:42:22 +00:00
Butkovits Atila
7ab6339085
Backed out 3 changesets (bug 1690025) for causing failure on Client.h. CLOSED TREE
...
Backed out changeset 5d5e90d31294 (bug 1690025)
Backed out changeset d2b39aebfad2 (bug 1690025)
Backed out changeset 2684aad61a6b (bug 1690025)
2021-02-09 10:12:28 +02:00
Jan Varga
8eeb10cf67
Bug 1690025 - Move DirectoryLockImpl class to separate files; r=dom-storage-reviewers,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D104163
2021-02-09 06:52:57 +00:00
Jan Varga
dcca4eaf0c
Bug 1690025 - Move DirectoryLock class to a separate file; r=dom-storage-reviewers,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D104154
2021-02-09 06:52:57 +00:00
Simon Giesecke
916433bd5a
Bug 1685111 - Extract CachingDatabaseConnection base class from indexedDB's DatabaseConnection. r=dom-workers-and-storage-reviewers,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D100922
2021-01-26 09:19:44 +00:00
Ricky Stewart
02a7b4ebdf
Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
...
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
To produce this patch I did all of the following:
1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
2. Run ./mach lint --linter black --fix
3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.
5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00