FS: Implement InitOrigin and GetUsageForOrigin
Categories
(Core :: DOM: File, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox110 | --- | fixed |
People
(Reporter: janv, Assigned: jjalkanen)
References
Details
Attachments
(11 files, 2 obsolete files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
These methods are currently unimplemented. We can't do the switch to <profile>/storage (from <profile>/opfs-storage) without it.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 2•1 year ago
|
||
Depends on D157555
Assignee | ||
Comment 3•1 year ago
|
||
Assignee | ||
Comment 4•1 year ago
|
||
Depends on D163631
Assignee | ||
Comment 5•1 year ago
|
||
Depends on D163632
Assignee | ||
Comment 6•1 year ago
|
||
Depends on D163633
Assignee | ||
Comment 7•1 year ago
|
||
Depends on D157555
Assignee | ||
Comment 8•1 year ago
|
||
Assignee | ||
Comment 9•1 year ago
|
||
Stub is fully implemented together with fs::QuotaClient::GetUsage.
Depends on D163631
Assignee | ||
Comment 10•1 year ago
|
||
- Documentation added to FileSystemFileManager header
- Method to get the database path without creating it added
- Method to get a file for entryId without creating it added
- FS_QUOTA_MANAGEMENT_ENABLED flag moved to GetDirectoryForOrigin header
- GetDirectoryForOrigin header added to where the flag is used
Assignee | ||
Comment 11•1 year ago
|
||
Depends on D165309
Assignee | ||
Comment 12•1 year ago
|
||
Depends on D163699
Updated•1 year ago
|
Reporter | ||
Comment 13•1 year ago
|
||
TestFileSystemDataManager.cpp invented a way to access QuotaManager in a gtest.
New tests are being added which need the same infrastructure so this patch
creates a base class which can be reused by multiple gtests.
Depends on D165320
Comment 14•1 year ago
|
||
Comment on attachment 9310108 [details]
Bug 1789585 - Introduce QuotaManagerDependencyFixture; r=#dom-storage
Revision D165678 was moved to bug 1801364. Setting attachment 9310108 [details] to obsolete.
Comment 15•1 year ago
|
||
Pushed by jjalkanen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4e78bbdc56e6 Add file system as valid quota client type. r=dom-storage-reviewers,janv https://hg.mozilla.org/integration/autoland/rev/090dac54564e Add stub for file usage update in file system database manager. r=dom-storage-reviewers,jesup,janv https://hg.mozilla.org/integration/autoland/rev/aa2045b420b6 Clean up FileSystemFileManager. r=dom-storage-reviewers,janv https://hg.mozilla.org/integration/autoland/rev/afb4fa3374b7 Separate quota manager setup to test helper. r=dom-storage-reviewers,janv
Reporter | ||
Updated•1 year ago
|
Comment 16•1 year ago
|
||
bugherder |
Comment 17•1 year ago
|
||
Pushed by jjalkanen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/851c3c02927c Test FileSystemQuotaClient. r=dom-storage-reviewers,jesup,janv https://hg.mozilla.org/integration/autoland/rev/9c932a57f605 Replace custom schema version getter with existing implementation. r=dom-storage-reviewers,janv https://hg.mozilla.org/integration/autoland/rev/024b8b4397c4 Replace forward declarations for return type with header includes. r=dom-storage-reviewers,janv https://hg.mozilla.org/integration/autoland/rev/c28f4fa9d25e Store total file size and if size is constant to usage schema. r=dom-storage-reviewers,janv https://hg.mozilla.org/integration/autoland/rev/fa1fb3ee1eb6 Add file system as LockedGetUsage client. r=dom-storage-reviewers,janv
Comment 18•1 year ago
|
||
bugherder |
Comment 19•1 year ago
|
||
Pushed by jjalkanen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fa5619933e00 Implement InitOrigin and GetUsageForOrigin for fs::QuotaClient. r=dom-storage-reviewers,janv https://hg.mozilla.org/integration/autoland/rev/e4f964cd806b Bind and get booleans to and from ResultStatements. r=dom-storage-reviewers,janv
Comment 20•1 year ago
|
||
Backed out for causing Gtest failures
Backout link: https://hg.mozilla.org/integration/autoland/rev/46735d6081efdae1c8d1f2f6dee2d49bd176596b
Comment 21•1 year ago
|
||
Pushed by jvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9983b7af10d0 Implement InitOrigin and GetUsageForOrigin for fs::QuotaClient. r=dom-storage-reviewers,janv
Comment 22•1 year ago
|
||
Pushed by jvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9cf5ee4992ba Bind and get booleans to and from ResultStatements. r=dom-storage-reviewers,janv
Comment 23•1 year ago
|
||
bugherder |
Assignee | ||
Comment 24•1 year ago
|
||
The failing test was fixed and the patch relanded.
Comment 25•1 year ago
|
||
Comment on attachment 9304517 [details]
Bug 1789585 - Rescan usages at QuotaClient initialization after crash. r=#dom-storage
Revision D162584 was moved to bug 1812243. Setting attachment 9304517 [details] to obsolete.
Assignee | ||
Updated•1 year ago
|
Reporter | ||
Updated•1 year ago
|
Updated•1 year ago
|
Description
•