FS: Add infrastructure for verifying SyncAccessHandle quota management
Categories
(Core :: DOM: File, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox110 | --- | fixed |
People
(Reporter: janv, Assigned: janv)
References
Details
Attachments
(3 files, 2 obsolete files)
An xpcshell test for verifying SyncAccessHandle quota management revealed some small bugs which need to be addressed.
Assignee | ||
Comment 1•3 months ago
|
||
The actor is destroyed during origin clearing or resetting.
Depends on D159880
Assignee | ||
Comment 2•3 months ago
|
||
This bug causes NS_AsyncCopy to call the progress callback with random values
when there's an error during writing.
Depends on D165069
Assignee | ||
Comment 3•3 months ago
|
||
Some tests will need to use nsIQuotaManagerService::Reset.
Depends on D165070
Assignee | ||
Comment 4•3 months ago
|
||
The new method is needed for testing quota management and it works in xpcshell
tests including workers in xpcshell tests.
Depends on D165071
Assignee | ||
Comment 5•3 months ago
|
||
Depends on D165072
Assignee | ||
Updated•3 months ago
|
Assignee | ||
Updated•2 months ago
|
Pushed by jjalkanen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9ad750172e57 Recreate FileSystemManagerChild after it was destroyed; r=dom-storage-reviewers,jari https://hg.mozilla.org/integration/autoland/rev/0bdd4eb728e3 FileQuotaStreamWithWrite::Write should return zero written bytes in the failure case; r=dom-storage-reviewers,jari https://hg.mozilla.org/integration/autoland/rev/b21e0aaab0db Enable nsIQuotaManagerService methods for testing; r=dom-storage-reviewers,jari
Comment 7•2 months ago
|
||
Backed out for causing Gtest failures
Backout link: https://hg.mozilla.org/integration/autoland/rev/46735d6081efdae1c8d1f2f6dee2d49bd176596b
Assignee | ||
Updated•2 months ago
|
Pushed by jvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/180a8d7b3429 Recreate FileSystemManagerChild after it was destroyed; r=dom-storage-reviewers,jari https://hg.mozilla.org/integration/autoland/rev/31627dd1ef99 FileQuotaStreamWithWrite::Write should return zero written bytes in the failure case; r=dom-storage-reviewers,jari https://hg.mozilla.org/integration/autoland/rev/fbc422a876ba Enable nsIQuotaManagerService methods for testing; r=dom-storage-reviewers,jari
Comment 9•2 months ago
|
||
bugherder |
Assignee | ||
Updated•1 month ago
|
Assignee | ||
Updated•1 month ago
|
Comment 10•1 month ago
|
||
Comment on attachment 9309024 [details]
Bug 1806362 - Introduce Utils in tests with a method for shrinking storage size; r=#dom-storage
Revision D165072 was moved to bug 1815696. Setting attachment 9309024 [details] to obsolete.
Comment 11•1 month ago
|
||
Comment on attachment 9309025 [details]
Bug 1806362 - Add a test to verify SyncAccessHandle quota management; r=#dom-storage
Revision D165073 was moved to bug 1815696. Setting attachment 9309025 [details] to obsolete.
Description
•