Improve testing of usage tracking and origin initialization including all the necessary refactorings and new testing infrastructrue
Categories
(Core :: Storage: Quota Manager, task, P1)
Tracking
()
People
(Reporter: janv, Assigned: janv)
References
(Blocks 2 open bugs)
Details
Attachments
(17 files, 56 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 | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
Bug 1808294 - Remove OpenDirectoryListener and related DirectoryLock::Acquire method; r=#dom-storage
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
TestFileSystemQuotaClient.cpp was added to test usage tracking and origin initialization of the OPFS quota client. At that time we did have some supporting infrastructure, but it wasn't great. So the test did what it could at the time. Note that this is all written in C++ because some things just can't be tested in mochitests and even xpcshell tests are not always suitable.
Bug 1671932 needs to do quite big architectural changes in the way how we initialize storage which can cause new regressions potentially caught too late.
This bug is mostly about:
- providing new better testing infrastructure for testing of usage tracking and origin initialization and various other situations which will be affected by follow-up changes for bug 1866217 and bug 1866402.
- rewriting and improving TestFileSystemQuotaClient.cpp using the new testing infrastructure
- other necessary related refactorings
- reducing related technical dept which accumulated over the time
- pave a way for writing tests for bug 1866240 more easily
| Assignee | ||
Comment 1•3 years ago
|
||
The new class supports setting a custom factory, so tests can use it for
overriding the quota client implementation.
Depends on D165678
| Assignee | ||
Comment 2•3 years ago
|
||
Depends on D165851
Comment 3•3 years ago
|
||
Comment on attachment 9310470 [details]
Bug 1808294 - Add more helpers to QuotaManagerDependencyFixture; r=#dom-storage
Revision D165853 was moved to bug 1801364. Setting attachment 9310470 [details] to obsolete.
| Assignee | ||
Comment 4•3 years ago
|
||
Depends on D165851
| Assignee | ||
Comment 5•2 years ago
|
||
| Assignee | ||
Comment 6•2 years ago
|
||
Depends on D166173
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
Comment 8•2 years ago
|
||
| bugherder | ||
Comment 10•2 years ago
|
||
| bugherder | ||
Comment 11•2 years ago
|
||
Comment 12•2 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 13•2 years ago
|
||
There's now a dedicated method QuotaManager::ClearStoragesForOrigin which can
be called in the parent process directly, so the fixture doesn't have to use
IPC for clearing origins anymore.
| Assignee | ||
Comment 14•2 years ago
|
||
The method is currently only used for ensuring that quota manager exists, so the new name reflects that.
Depends on D191915
| Assignee | ||
Comment 15•2 years ago
|
||
This patch also adds QuotaManager::StorageInitialized and
QuotaManager::TemporaryStorageInitialized which can be then used by the
QuotaManagerDependencyFixture.
Depends on D191927
| Assignee | ||
Comment 16•2 years ago
|
||
QuotaManager::StorageInitialized is the primary source of truth.
QuotaManager::IsStorageInitialized only synchronously checks a flag which
shadows the primary state on the QuotaManager IO thread. Calling an async
method better matches other QuotaManagerDependencyFixture methods.
Depends on D191930
| Assignee | ||
Comment 17•2 years ago
|
||
QuotaManagerDependencyFixture::IsStorageInitialized now uses
QuotaManager::StorageInitialized, so it makes sense to remove "Is" from all
storage initialization checking methods as well.
Depends on D191932
| Assignee | ||
Comment 18•2 years ago
|
||
One of the goals of the asynchronous temporary storage initialization is to
call EnsureTemporaryStorageIsInitialized only from InitTemporaryStorageOp.
Calling from other places including quota clients will be disallowed by
changing the method to a private method. The private nature of the method
should be emphasized by adding the Internal suffix.
Changes done in this patch:
- IsTemporaryStorageInitialized renamed to
IsTemporaryStorageInitializedInternal - EnsureTemporaryStorageIsInitialized renamed to
EnsureTemporaryStorageIsInitializedInternal
| Assignee | ||
Comment 19•2 years ago
|
||
There's currently EnsureTemporaryStorageIsInitializedInternal which can only be
called on the QuotaManager IO thread. That method shouldn't be exposed to quota
clients and origin operations. There should be a public method callable from
the PBackground thread returning a MozPromise instead. Such method will
guarantee that proper directory locking is acquired before temporary storage
initialization is started.
Depends on D188332
| Assignee | ||
Comment 20•2 years ago
|
||
EnsureTemporaryOriginIsInitialized currently takes two separate arguments which
can be expressed as just one argument.
Depends on D192135
| Assignee | ||
Comment 21•2 years ago
|
||
One of the goals of the asynchronous temporary storage initialization is to
call Ensure(Persistent|Temporary)OriginIsInitialized only from
Initialize(Persistent|Temporary)OriginOp. Calling from other places including
quota clients will be disallowed by changing the method to a private method.
The private nature of the method should be emphasized by adding the Internal
suffix.
Depends on D192149
| Assignee | ||
Comment 22•2 years ago
|
||
Updated•2 years ago
|
| Assignee | ||
Comment 23•2 years ago
|
||
QuotaManager::InitializeStorage and QuotaManager::InitializeTemporaryStorage
currently check if there are any clear or shutdown storage operations even when
the directory lock has been acquired. There should be no such operations, so
the check can be removed.
Depends on D192444
| Assignee | ||
Comment 24•2 years ago
|
||
| Assignee | ||
Comment 25•2 years ago
|
||
Depends on D193057
| Assignee | ||
Comment 26•2 years ago
|
||
Depends on D193103
| Assignee | ||
Comment 27•2 years ago
|
||
Counting of clear/shutdown storage operations was only a temporary solution.
We are now approaching a point when we will be able to initialize origins
asynchronously and that can't efficiently work with counting of clear origin
operations because initialization and clearing of origins is parameterized by
persistence type and actual origin. So there can be a clear origin operation
which doesn't block other init origin operation. Couting of clear operations
would be problematic in that case.
Evaluation of existing directory locks should work both for storage and origin
initializatin.
Updated•2 years ago
|
Updated•2 years ago
|
| Assignee | ||
Comment 28•2 years ago
|
||
There are currently EnsurePersistentOriginIsInitializedInternal and
EnsureTemporaryOriginIsInitializedInternal methods which can only be
called on the QuotaManager IO thread. These methods shouldn't be exposed to
quota clients and origin operations. There should be public methods callable
from the PBackground thread returning a MozPromise instead. Such methods will
guarantee that proper directory locking is acquired before persistent origin
initialization or temporary origin initialization is started.
Depends on D192150
| Assignee | ||
Comment 29•2 years ago
|
||
Multiple helper classes will need to call this method.
Depends on D194005
| Assignee | ||
Comment 30•2 years ago
|
||
This is one of the things which are needed for making GetUsageOp and
GetOriginUsageOp independent from the actor. In practise, for changing the main
base class of the operations from QuotaUsageRequestBase to
ResolvableNormalOriginOp.
Depends on D194010
| Assignee | ||
Comment 31•2 years ago
|
||
ResolvableNormalOriginOp::SendResults currently doesn't check the mCanceled
flag despite that it inherits from NormalOriginOperationBase which allows
setting mCanceled to true.
Depends on D194011
| Assignee | ||
Comment 32•2 years ago
|
||
Depends on D194035
| Assignee | ||
Comment 33•2 years ago
|
||
OriginOperationBase is finally fully abstract.
Depends on D194036
| Assignee | ||
Comment 34•2 years ago
|
||
The class which implements the protocol is already refcounted, but the
interaction with IPC still uses manual deallocation.
Depends on D194037
| Assignee | ||
Comment 35•2 years ago
|
||
This is a prerequisite to make GetUsageOp independent from the actor.
Depends on D194042
| Assignee | ||
Comment 36•2 years ago
|
||
This will allow to include QuotaCommon.h in header files less often.
Depends on D194053
| Assignee | ||
Comment 37•2 years ago
|
||
Depends on D194056
| Assignee | ||
Comment 38•2 years ago
|
||
It's now also possible to define callbacks for move-only types.
Depends on D194058
| Assignee | ||
Comment 39•2 years ago
|
||
Depends on D194064
| Assignee | ||
Comment 40•2 years ago
|
||
This test is needed for making sure that upcoming refactoring doesn't regress
getting origin usage, especially the cancelling of requests.
Depends on D194070
| Assignee | ||
Comment 41•2 years ago
|
||
Depends on D194073
| Assignee | ||
Comment 42•2 years ago
|
||
Depends on D194082
| Assignee | ||
Comment 43•2 years ago
|
||
Sub actors are still created, but their only purpose is to allow cancellation
of alreaady created requests. Actual results are now returned as asynchronous
responses to the asynchronous messages.
Depends on D194085
| Assignee | ||
Comment 44•2 years ago
|
||
PQuotaUsageRequest is now only used for cancellation of requests, constructed
using managed endpoints.
Depends on D194097
| Assignee | ||
Comment 45•2 years ago
|
||
Actual results are now returned as asynchronous responses to the asynchronous
messages.
Depends on D194150
| Assignee | ||
Comment 46•2 years ago
|
||
| Assignee | ||
Comment 47•2 years ago
|
||
CanSend can be used instead of custom tracking of the actor state.
Depends on D194153
| Assignee | ||
Comment 48•2 years ago
|
||
The class is not used as a base for other classes anymore.
Depends on D194198
| Assignee | ||
Comment 49•2 years ago
|
||
Depends on D194200
| Assignee | ||
Comment 50•2 years ago
|
||
Depends on D194202
| Assignee | ||
Comment 51•2 years ago
|
||
| Assignee | ||
Comment 52•2 years ago
|
||
The return value is deduced from the performed function.
Depends on D165853
| Assignee | ||
Comment 53•2 years ago
|
||
Depends on D194345
| Assignee | ||
Comment 54•2 years ago
|
||
Depends on D194356
| Assignee | ||
Comment 55•2 years ago
|
||
Depends on D194362
| Assignee | ||
Comment 56•2 years ago
|
||
Depends on D194365
| Assignee | ||
Comment 57•2 years ago
|
||
Some helper methods have been also generalized to work with any origin.
Depends on D194462
| Assignee | ||
Comment 58•2 years ago
|
||
The new test suite is intended for integration tests which verify usage
tracking without any restart in between. The suite is based on the existing
TestFileSystemQuotaClient suite except the test which in theory request a
restart in between: TrackedFilesOnInitOriginShouldCauseRescan.
TestFileSystemQuotaClient.cpp will get removed after some additional
refactoring.
Depends on D194463
| Assignee | ||
Comment 59•2 years ago
|
||
Depends on D194465
| Assignee | ||
Comment 60•2 years ago
|
||
FileSystemQuotaClient::InitOrigin shouldn't be called when temporary storage is
already initialized. It shouldn't be called when there's already active storage
connection for the OPFS database either.
Depends on D194466
| Assignee | ||
Comment 61•2 years ago
|
||
Depends on D194467
| Assignee | ||
Comment 62•2 years ago
|
||
Depends on D194485
| Assignee | ||
Comment 63•2 years ago
|
||
Depends on D194487
| Assignee | ||
Comment 64•2 years 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.
Depends on D194502
| Assignee | ||
Comment 65•2 years ago
|
||
Depends on D194504
| Assignee | ||
Comment 66•2 years 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.
Depends on D194507
| Assignee | ||
Comment 67•2 years ago
|
||
Some tests need to create a connection to check usage when storage is not
initialized.
Depends on D194518
| Assignee | ||
Comment 68•2 years ago
|
||
Depends on D194519
| Assignee | ||
Comment 69•2 years ago
|
||
Depends on D194533
| Assignee | ||
Comment 70•2 years ago
|
||
The TestFileSystemQuotaClient test suite has been replacted with
TestFileSystemUsageTracking and TestFileSystemOriginInitialization test suites.
Depends on D166175
| Assignee | ||
Comment 71•2 years ago
|
||
InitOrigin is supposed to be called when temporary storage is not initialized
or is being initialized. On the other hand, GetUsageForOrigin is supposed to be
called only when temporary storage is already initialized.
Depends on D194540
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 72•2 years ago
|
||
Comment 73•2 years ago
|
||
Comment 74•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/5b8110610881
https://hg.mozilla.org/mozilla-central/rev/34692f93e3cf
https://hg.mozilla.org/mozilla-central/rev/5abcd2975dea
https://hg.mozilla.org/mozilla-central/rev/5a8c8645f229
https://hg.mozilla.org/mozilla-central/rev/3af420373710
https://hg.mozilla.org/mozilla-central/rev/bb4187cf72f9
https://hg.mozilla.org/mozilla-central/rev/35cd604059a3
https://hg.mozilla.org/mozilla-central/rev/9c6a5f90c3aa
| Assignee | ||
Comment 75•2 years ago
|
||
All quota clients now use QuotaManager::OpenClientDirectory instead of
requesting a directory lock directly and there are no other consumers of the
Acquire method which takes a listener, so the method and the listener can be
safely removed.
Depends on D193105
| Assignee | ||
Comment 76•2 years ago
|
||
The method name can't be Release because that's already used for ref-counting.
The next best alternative seems to be Drop. The explicit Drop method is needed
to make it later possible to release directory locks asynchronously and also to
make it more obvious when directory locks are released which is not that clear
now when directory locks are released when the last strong reference is removed.
Depends on D197289
| Assignee | ||
Comment 77•2 years ago
|
||
DirectoryLock::AcquireImmediately is supposed to be called only when there are
no blocking directory locks, so the flag can be flipped immediately too.
Depends on D197292
| Assignee | ||
Comment 78•2 years ago
|
||
Until now, directory locks were dropped when the last strong reference was
removed or after calling Drop explicitly. The dependency on ref-counting makes
it less obvious when directory locks are dropped for real and it's also
difficult to release them asynchronously eventually. This patch removes the
directory lock unregistration from the destructor, so from now on, directory
locks must be always dropped explicitly.
Depends on D197293
| Assignee | ||
Comment 79•2 years ago
|
||
Depends on D197294
| Assignee | ||
Comment 80•2 years ago
|
||
For now, asynchronous Drop is only needed for replacing counting of pending
clear/shutdown storage operations with evaluation of existing directory locks.
In future, asynchronous Drop will also allow to do IO, for example if we decide
to wait for saving of origin access time to be finished.
Depends on D197297
| Assignee | ||
Comment 81•2 years ago
|
||
Some gtests need to invoke functions at specifix moments, for example just
before an origin operation is finished. This patch adds support for that and
also callbacks which are resolved/rejected just after an origin operation is
finished. Consumers can either use asynchronous or synchronous callbacks.
Depends on D197298
| Assignee | ||
Comment 82•2 years ago
|
||
Depends on D197318
| Assignee | ||
Comment 83•2 years ago
|
||
This is an edge case and was the primary reason for making DirectoryLock::Drop
async. Async Drop is needed for replacing counting of pending clear/shutdown storage operations with evaluation of existing directory locks because of this
scenario:
- ShutdownStorageOp::DoDirectoryWork is done
- NormalOriginOperationBase::UnblockOpen calls SendResults
- ResolvableNormalOriginOp::SendResults resolves the promise (a new runnable is
dispatched to the current thread) - NormalOriginOperationBase::UnblockOpen calls CloseDirectory
- ShutdownStorageOp::CloseDirectory drops the directory lock immediately and
synchronously - The current runnable is done
- A pending runnable is being processed which calls InitializeStorage
- InitializeStorage still sees that mStorageInitializes is true and that there
are no existing directory locks, so it immediately resolves its promise - The runnable dispatched from ResolvableNormalOriginOp::SendResults is
processed and the handler for it sets mStorageInitialized to false in
QuotaManager::ShutdownStorage - Finally, mStorageInitialized is false, but it should be true
So the problem in the scenario is that the directory lock is dropped
synchronously. However, all directory locks are now dropped explicitly and
asynchronously so InitializeStorage would still see the directory lock for
ShutdownStorage and wouldn't immediately resolve its promise.
This new test simulates the described scenario.
Depends on D197319
Updated•2 years ago
|
Comment 84•2 years ago
|
||
Comment on attachment 9365197 [details]
Bug 1808294 - Expose GetStorageConnection via FileSystemDataManager.h; r=#dom-storage
Revision D194519 was moved to bug 1871799. Setting attachment 9365197 [details] to obsolete.
Comment 85•2 years ago
|
||
Comment 86•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/135ea5e401e8
https://hg.mozilla.org/mozilla-central/rev/a4948d095571
https://hg.mozilla.org/mozilla-central/rev/4503522bcc0e
https://hg.mozilla.org/mozilla-central/rev/2e2c5894e228
https://hg.mozilla.org/mozilla-central/rev/f020830ab616
https://hg.mozilla.org/mozilla-central/rev/0e92fa835e26
| Assignee | ||
Updated•2 years ago
|
Comment 87•2 years ago
|
||
Comment on attachment 9370271 [details]
Bug 1808294 - Require to always drop directory locks explicitly; r=#dom-storage
Revision D197294 was moved to bug 1883353. Setting attachment 9370271 [details] to obsolete.
Comment 88•1 year ago
|
||
Comment on attachment 9370276 [details]
Bug 1808294 - Add testing for DirectoryLock::Drop; r=#dom-storage
Revision D197297 was moved to bug 1883353. Setting attachment 9370276 [details] to obsolete.
Comment 89•1 year ago
|
||
Comment on attachment 9370278 [details]
Bug 1808294 - Change DirectoryLock::Drop to be asynchronous; r=#dom-storage
Revision D197298 was moved to bug 1883353. Setting attachment 9370278 [details] to obsolete.
Comment 90•1 year ago
|
||
Comment on attachment 9370309 [details]
Bug 1808294 - Add callbacks for origin operations; r=#dom-storage
Revision D197318 was moved to bug 1905011. Setting attachment 9370309 [details] to obsolete.
Comment 91•1 year ago
|
||
Comment on attachment 9370311 [details]
Bug 1808294 - Add optional callbacks to QuotaManager::ShutdownStorage; r=#dom-storage
Revision D197319 was moved to bug 1905011. Setting attachment 9370311 [details] to obsolete.
Comment 92•1 year ago
|
||
Comment on attachment 9370316 [details]
Bug 1808294 - Add testing for InitializeStorage scheduled just before ShutdownStorage is finished; r=#dom-storage
Revision D197322 was moved to bug 1905011. Setting attachment 9370316 [details] to obsolete.
Comment 93•1 year ago
|
||
Comment on attachment 9361374 [details]
Bug 1808294 - Remove unneeded checks involving mShutdownStorageOpCount; r=#dom-storage
Revision D192445 was moved to bug 1905011. Setting attachment 9361374 [details] to obsolete.
Comment 94•1 year ago
|
||
Comment on attachment 9362800 [details]
Bug 1808294 - Replace counting of pending clear/shutdown storage operations with evaluation of existing directory locks; r=#dom-storage
Revision D193191 was moved to bug 1905011. Setting attachment 9362800 [details] to obsolete.
Comment 95•1 year ago
|
||
Comment on attachment 9360857 [details]
Bug 1808294 - Simplify signature of QuotaManager::EnsureTemporaryOriginIsInitialized; r=#dom-storage
Revision D192149 was moved to bug 1906041. Setting attachment 9360857 [details] to obsolete.
Comment 96•1 year ago
|
||
Comment on attachment 9360860 [details]
Bug 1808294 - Rename Ensure(Persistent|Temporary)OriginIsInitialized to Ensure(Persistent|Temporary)OriginIsInitializedInternal; r=#dom-storage
Revision D192150 was moved to bug 1906041. Setting attachment 9360860 [details] to obsolete.
Comment 97•1 year ago
|
||
Comment on attachment 9364351 [details]
Bug 1808294 - Add QuotaManager::Initialize(Persistent|Temporary)Origin methods; r=#dom-storage
Revision D194005 was moved to bug 1906041. Setting attachment 9364351 [details] to obsolete.
Comment 98•1 year ago
|
||
Comment on attachment 9364360 [details]
Bug 1808294 - Pull out TraverseRepositoryHelper::GetIsCanceledFlag method into a new base class; r=#dom-storage
Revision D194010 was moved to bug 1910848. Setting attachment 9364360 [details] to obsolete.
Comment 99•1 year ago
|
||
Comment on attachment 9364363 [details]
Bug 1808294 - Pull out GetUsageForOrigin and GetUsageForOriginEntries methods from QuotaUsageRequestBase into a new base class; r=#dom-storage
Revision D194011 was moved to bug 1910848. Setting attachment 9364363 [details] to obsolete.
Comment 100•1 year ago
|
||
Comment on attachment 9364407 [details]
Bug 1808294 - Align QuotaUsageRequestBase::SendResults and ResolvableNormalOriginOp::SendResults; r=#dom-storage
Revision D194035 was moved to bug 1910848. Setting attachment 9364407 [details] to obsolete.
Comment 101•1 year ago
|
||
Comment on attachment 9364410 [details]
Bug 1808294 - Encapsulate NormalOriginOperationBase::mCanceled; r=#dom-storage
Revision D194036 was moved to bug 1883353. Setting attachment 9364410 [details] to obsolete.
Comment 102•1 year ago
|
||
Comment on attachment 9364412 [details]
Bug 1808294 - Pull out OriginOperationBase::mActorDestroyed to actor classes; r=#dom-storage
Revision D194037 was moved to bug 1883353. Setting attachment 9364412 [details] to obsolete.
Comment 103•1 year ago
|
||
Comment on attachment 9364420 [details]
Bug 1808294 - Make PQuotaUsageRequest protocol refcounted; r=#dom-storage
Revision D194042 was moved to bug 1883353. Setting attachment 9364420 [details] to obsolete.
Comment 104•1 year ago
|
||
Comment on attachment 9364435 [details]
Bug 1808294 - Replace custom OriginUsage with a common OriginUsageMetadata struct; r=#dom-storage
Revision D194053 was moved to bug 1910848. Setting attachment 9364435 [details] to obsolete.
Comment 105•1 year ago
|
||
Comment on attachment 9364438 [details]
Bug 1808294 - Move BackgroundThreadObject to separate files; r=#dom-storage
Revision D194056 was moved to bug 1910848. Setting attachment 9364438 [details] to obsolete.
Comment 106•1 year ago
|
||
Comment on attachment 9364442 [details]
Bug 1808294 - Make it easy to define new ResponsePromiseResolveOrRejectCallback based types; r=#dom-storage
Revision D194058 was moved to bug 1910848. Setting attachment 9364442 [details] to obsolete.
Comment 107•1 year ago
|
||
Comment on attachment 9364455 [details]
Bug 1808294 - Make it easy to define new ResolveResponseAndReturn/PromiseResolveOrRejectCallback based callbacks; r=#dom-storage
Revision D194064 was moved to bug 1910848. Setting attachment 9364455 [details] to obsolete.
Comment 108•1 year ago
|
||
Comment on attachment 9364464 [details]
Bug 1808294 - Make it possible to use ResolvableNormalOriginOp with move-only types; r=#dom-storage
Revision D194070 was moved to bug 1910848. Setting attachment 9364464 [details] to obsolete.
Comment 109•1 year ago
|
||
Comment on attachment 9364470 [details]
Bug 1808294 - Add a test for nsIQuotaManagerService::GetUsageForPrincipal; r=#dom-storage
Revision D194073 was moved to bug 1910848. Setting attachment 9364470 [details] to obsolete.
Comment 110•1 year ago
|
||
Comment on attachment 9364483 [details]
Bug 1808294 - Convert test_getUsage.js from using generator functions to using async functions instead; r=#dom-storage
Revision D194082 was moved to bug 1910848. Setting attachment 9364483 [details] to obsolete.
Comment 111•1 year ago
|
||
Comment on attachment 9364653 [details]
Bug 1808294 - Add support for pausing QM IO thread after finishing directory work; r=#dom-storage
Revision D194176 was moved to bug 1910848. Setting attachment 9364653 [details] to obsolete.
Comment 112•1 year ago
|
||
Comment on attachment 9364491 [details]
Bug 1808294 - Add testing for nsIQuotaUsageRequest.cancel(); r=#dom-storage
Revision D194085 was moved to bug 1910848. Setting attachment 9364491 [details] to obsolete.
Comment 113•1 year ago
|
||
Comment on attachment 9364519 [details]
Bug 1808294 - Rework QuotaManagerService methods for getting usage to use async messages with async responses; r=#dom-storage
Revision D194097 was moved to bug 1910848. Setting attachment 9364519 [details] to obsolete.
Comment 114•1 year ago
|
||
Comment on attachment 9364595 [details]
Bug 1808294 - Remove unused PQuotaUsageRequest constructor; r=#dom-storage
Revision D194150 was moved to bug 1910848. Setting attachment 9364595 [details] to obsolete.
Comment 115•1 year ago
|
||
Comment on attachment 9364599 [details]
Bug 1808294 - Remove unused delete argument; r=#dom-storage
Revision D194153 was moved to bug 1910848. Setting attachment 9364599 [details] to obsolete.
Comment 116•1 year ago
|
||
Comment on attachment 9364684 [details]
Bug 1808294 - Remove unneeded QuotaUsageRequestBase::mActorDestroyed flag; r=#dom-storage
Revision D194198 was moved to bug 1910848. Setting attachment 9364684 [details] to obsolete.
Comment 117•1 year ago
|
||
Comment on attachment 9364686 [details]
Bug 1808294 - Rename QuotaUsageRequestBase to QuotaUsageRequestParent; r=#dom-storage
Revision D194200 was moved to bug 1910848. Setting attachment 9364686 [details] to obsolete.
Comment 118•1 year ago
|
||
Comment on attachment 9364688 [details]
Bug 1808294 - Move QuotaUsageRequestChild to separate files; r=#dom-storage
Revision D194202 was moved to bug 1910848. Setting attachment 9364688 [details] to obsolete.
Comment 119•1 year ago
|
||
Comment on attachment 9364702 [details]
Bug 1808294 - Switch PQuotaUsageRequest to non-virtual implementation; r=#dom-storage
Revision D194214 was moved to bug 1910848. Setting attachment 9364702 [details] to obsolete.
Comment 120•1 year ago
|
||
Comment on attachment 9365179 [details]
Bug 1808294 - Gettting cached origin usage shouldn't trigger temporary storage initialization; r=#dom-storage
Revision D194504 was moved to bug 1912272. Setting attachment 9365179 [details] to obsolete.
Comment 121•1 year ago
|
||
Comment on attachment 9364883 [details]
Bug 1808294 - Add Await convenience method to QuotaManagerDependencyFixture; r=#dom-storage
Revision D194326 was moved to bug 1912272. Setting attachment 9364883 [details] to obsolete.
Comment 122•1 year ago
|
||
Comment on attachment 9310470 [details]
Bug 1808294 - Add more helpers to QuotaManagerDependencyFixture; r=#dom-storage
Revision D165853 was moved to bug 1912272. Setting attachment 9310470 [details] to obsolete.
Comment 123•1 year ago
|
||
Comment on attachment 9365182 [details]
Bug 1808294 - Change GetOriginUsage to always require non-null output argument; r=#dom-storage
Revision D194507 was moved to bug 1912272. Setting attachment 9365182 [details] to obsolete.
Comment 124•1 year ago
|
||
Comment on attachment 9365193 [details]
Bug 1808294 - Add QuotaManagerDependencyFixture::GetCachedOriginUsage; r=#dom-storage
Revision D194518 was moved to bug 1912272. Setting attachment 9365193 [details] to obsolete.
Comment 125•1 year ago
|
||
Comment on attachment 9364910 [details]
Bug 1808294 - Add support for returning values from PerformOnThread functions; r=#dom-storage
Revision D194345 was moved to bug 1912272. Setting attachment 9364910 [details] to obsolete.
Comment 126•1 year ago
|
||
Comment on attachment 9364922 [details]
Bug 1808294 - Introduce ENSURE_NO_FATAL_FAILURE macro; r=#dom-storage
Revision D194356 was moved to bug 1912272. Setting attachment 9364922 [details] to obsolete.
Comment 127•1 year ago
|
||
Comment on attachment 9364928 [details]
Bug 1808294 - Add FileSystemDatabaseManager::GetUsage non-static method; r=#dom-storage
Revision D194362 was moved to bug 1912414. Setting attachment 9364928 [details] to obsolete.
Comment 128•1 year ago
|
||
Comment on attachment 9364940 [details]
Bug 1808294 - Add TEST_TRY macro; r=#dom-storage
Revision D194365 was moved to bug 1912414. Setting attachment 9364940 [details] to obsolete.
Comment 129•1 year ago
|
||
Comment on attachment 9365121 [details]
Bug 1808294 - Clean up include declarations in TestFileSystemQuotaClient.cpp; r=#dom-storage
Revision D194462 was moved to bug 1912414. Setting attachment 9365121 [details] to obsolete.
Comment 130•1 year ago
|
||
Comment on attachment 9365122 [details]
Bug 1808294 - Move parent test helpers to separate files; r=#dom-storage
Revision D194463 was moved to bug 1912414. Setting attachment 9365122 [details] to obsolete.
Comment 131•1 year ago
|
||
Comment on attachment 9365124 [details]
Bug 1808294 - Introduce TestFileSystemUsageTracking.cpp; r=#dom-storage
Revision D194465 was moved to bug 1912414. Setting attachment 9365124 [details] to obsolete.
Comment 132•1 year ago
|
||
Comment on attachment 9365125 [details]
Bug 1808294 - Init quota manager fixture only once during TestFileSystemUsageTracking test suite; r=#dom-storage
Revision D194466 was moved to bug 1912414. Setting attachment 9365125 [details] to obsolete.
Comment 133•1 year ago
|
||
Comment on attachment 9365127 [details]
Bug 1808294 - Replace FileSystemQuotaClient::InitOrigin calls with FileSystemDatabaseManager::GetUsage calls; r=#dom-storage
Revision D194467 was moved to bug 1912414. Setting attachment 9365127 [details] to obsolete.
Comment 134•1 year ago
|
||
Comment on attachment 9365151 [details]
Bug 1808294 - Execute test operations on the right thread; r=#dom-storage
Revision D194485 was moved to bug 1912414. Setting attachment 9365151 [details] to obsolete.
Comment 135•1 year ago
|
||
Comment on attachment 9365153 [details]
Bug 1808294 - Final cleanup of TestFileSystemUsageTracking.cpp; r=#dom-storage
Revision D194487 was moved to bug 1912414. Setting attachment 9365153 [details] to obsolete.
Comment 136•1 year ago
|
||
Comment on attachment 9365174 [details]
Bug 1808294 - Move parent test fixture to separate files; r=#dom-storage
Revision D194502 was moved to bug 1912414. Setting attachment 9365174 [details] to obsolete.
Comment 137•1 year ago
|
||
Comment on attachment 9365217 [details]
Bug 1808294 - Add GetTestClientMetadata function; r=#dom-storage
Revision D194533 was moved to bug 1912414. Setting attachment 9365217 [details] to obsolete.
Comment 138•1 year ago
|
||
Comment on attachment 9365221 [details]
Bug 1808294 - Add more helpers to FileSystemParentTest; r=#dom-storage
Revision D194536 was moved to bug 1912414. Setting attachment 9365221 [details] to obsolete.
Comment 139•1 year ago
|
||
Comment on attachment 9311036 [details]
Bug 1808294 - Create a dedicated test for origin initialization; r=#dom-storage
Revision D166175 was moved to bug 1912414. Setting attachment 9311036 [details] to obsolete.
Comment 140•1 year ago
|
||
Comment on attachment 9365228 [details]
Bug 1808294 - Remove TestFileSystemQuotaClient.cpp; r=#dom-storage
Revision D194540 was moved to bug 1912414. Setting attachment 9365228 [details] to obsolete.
Comment 141•1 year ago
|
||
Comment on attachment 9365230 [details]
Bug 1808294 - Make sure InitOrigin and GetUsageForOrigin are called as expected; r=#dom-storage
Revision D194542 was moved to bug 1912414. Setting attachment 9365230 [details] to obsolete.
| Assignee | ||
Updated•1 year ago
|
Description
•