Open Bug 1591879 Opened 5 years ago Updated 4 years ago

Revert the usage back if it fails after updating usage to a quotaObject.

Categories

(Core :: DOM: Service Workers, defect, P2)

defect

Tracking

()

People

(Reporter: tt, Unassigned)

References

Details

Jan pointed this out. We updated the increased size via a quotaObject in [1]. However, if we fail after that function, we should recover the usage back by a cleanup function. (e.g. [2], .. etc)

[1] https://searchfox.org/mozilla-central/rev/74cc0f4dce444fe0757e2a6b8307d19e4d0e0212/dom/cache/Manager.cpp#800
[2] https://searchfox.org/mozilla-central/rev/74cc0f4dce444fe0757e2a6b8307d19e4d0e0212/dom/cache/Manager.cpp#816

Priority: -- → P2
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.