mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-12 00:50:40 +00:00
c31875b7c3
A storage pressure event should be fired when the current usage is greater than the global limit. Currently, the QuotaManger checks the usage and the limit in two different cases, and this test verfiies both cases do fire a storage pressure event with a correct value of usage. The first one is that a quota client is asking for writting a new storage into the disk, but it will make the currnet usage become greater than the global limit. The other one is that the calculating limit is less than the current usage while initilaizing the temporary storage. --HG-- extra : rebase_source : 0ce65ee177175462ac8928f70972699c428a1135 |
||
---|---|---|
.. | ||
test | ||
ActorsChild.cpp | ||
ActorsChild.h | ||
ActorsParent.cpp | ||
ActorsParent.h | ||
Client.h | ||
FileStreams.cpp | ||
FileStreams.h | ||
MemoryOutputStream.cpp | ||
MemoryOutputStream.h | ||
moz.build | ||
nsIQuotaCallbacks.idl | ||
nsIQuotaManagerService.idl | ||
nsIQuotaRequests.idl | ||
nsIQuotaResults.idl | ||
OriginScope.h | ||
PersistenceType.h | ||
PQuota.ipdl | ||
PQuotaRequest.ipdl | ||
PQuotaUsageRequest.ipdl | ||
QuotaCommon.h | ||
QuotaManager.h | ||
QuotaManagerService.cpp | ||
QuotaManagerService.h | ||
QuotaObject.h | ||
QuotaRequests.cpp | ||
QuotaRequests.h | ||
QuotaResults.cpp | ||
QuotaResults.h | ||
SerializationHelpers.h | ||
StorageManager.cpp | ||
StorageManager.h | ||
UsageInfo.h |