Closed
Bug 1855940
Opened 2 years ago
Closed 2 years ago
Don't call nsIQuotaManagerService::Reset in mochitests
Categories
(Core :: Storage: Cache API, defect, P2)
Core
Storage: Cache API
Tracking
()
RESOLVED
FIXED
120 Branch
| Tracking | Status | |
|---|---|---|
| firefox120 | --- | fixed |
People
(Reporter: janv, Assigned: janv)
References
Details
Attachments
(1 file)
nsIQuotaManagerService::Reset can only be used in isolated environments when other things (especially stuff for other origins) can't run in parallel. So only xpcshell tests and gtests can use it (mochitests and web platform tests shouldn't use it).
There are some mochitests for Cache API which use the method, they should be fixed by calling nsIQuotaManagerService::ResetStoragesForPrincipal instead.
| Assignee | ||
Comment 1•2 years ago
|
||
Pushed by jvarga@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/670023e8a9bb
Don't call nsIQuotaManagerService::Reset in mochitests; r=hsingh
Comment 3•2 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox120:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•