Add more helpers to QuotaManagerDependencyFixture
Categories
(Core :: Storage: Quota Manager, task, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox131 | --- | fixed |
People
(Reporter: janv, Assigned: janv)
References
Details
Attachments
(7 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 |
Add more helpers to QuotaManagerDependencyFixture.
| Assignee | ||
Comment 1•1 year ago
|
||
Currently, getting cached origin usage may trigger temporary storage
initialization which is a problem in tests when we want just compare real and
cached usage without affecting the state of initialization.
This patch changes the behavior to return Nothing if temporary storage is not
initialized.
Consumers may either explicitly make sure that temporary storage is initialized
before getting cached origin usage or they can use the other mode when real
usage is colleced from disk.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 2•1 year ago
|
||
| Assignee | ||
Comment 3•1 year ago
|
||
| Assignee | ||
Comment 4•1 year ago
|
||
| Assignee | ||
Comment 5•1 year ago
|
||
There are plans to add nsIQuotaManagerService::getCachedUsageForPrincipal and
then remove the aFromMemory argument from
nsIQuotaManagerService::getUsageForPrincipal, so this patch adds a testing
method in that sense.
| Assignee | ||
Comment 6•1 year ago
|
||
The return value is deduced from the performed function.
| Assignee | ||
Comment 7•1 year ago
|
||
Comment 9•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/f795a7822089
https://hg.mozilla.org/mozilla-central/rev/6a46455a6060
https://hg.mozilla.org/mozilla-central/rev/2008800c7ecb
https://hg.mozilla.org/mozilla-central/rev/de34394ce390
https://hg.mozilla.org/mozilla-central/rev/5ef242e1c4f9
https://hg.mozilla.org/mozilla-central/rev/abe159f8800d
https://hg.mozilla.org/mozilla-central/rev/5619d371ada1
Description
•