gecko-dev/dom/quota
Tom Tung c31875b7c3 Bug 1389380 - Add a test for storage pressure event; r=janv
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
2018-10-04 10:32:41 +02:00
..
test Bug 1389380 - Add a test for storage pressure event; r=janv 2018-10-04 10:32:41 +02:00
ActorsChild.cpp Bug 1495687 - Introduce initTemporaryStorage to nsIQuotaManagerService for testing; r=janv 2018-10-02 16:08:43 +02:00
ActorsChild.h
ActorsParent.cpp Bug 1495687 - Introduce initTemporaryStorage to nsIQuotaManagerService for testing; r=janv 2018-10-02 16:08:43 +02:00
ActorsParent.h
Client.h Bug 1361330 - Part 4: Core implementation; r=asuth 2018-08-20 14:33:03 +02:00
FileStreams.cpp Bug 1361330 - Part 1: Make quota stream constructors public and move the Create() helpers outside of the stream classes; r=asuth 2018-08-20 14:32:33 +02:00
FileStreams.h Bug 1361330 - Part 1: Make quota stream constructors public and move the Create() helpers outside of the stream classes; r=asuth 2018-08-20 14:32:33 +02:00
MemoryOutputStream.cpp Bug 1485320 - Use SetLength() instead of GetMutableData() throwing away the pointer in MemoryOutputStream::Create(). r=asuth 2018-08-22 11:32:41 +00:00
MemoryOutputStream.h Bug 1361330 - Part 2: Move MemoryOutputStream to a generic place; r=asuth 2018-08-20 14:32:48 +02:00
moz.build Bug 1324836 - Part 2: Add a gtest for OriginScope testing; r=asuth 2018-09-07 18:23:02 +02:00
nsIQuotaCallbacks.idl
nsIQuotaManagerService.idl Bug 1495687 - Introduce initTemporaryStorage to nsIQuotaManagerService for testing; r=janv 2018-10-02 16:08:43 +02:00
nsIQuotaRequests.idl
nsIQuotaResults.idl
OriginScope.h Bug 1324836 - Part 1: Make OriginScope use mozilla::Variant; r=asuth 2018-09-07 18:22:50 +02:00
PersistenceType.h
PQuota.ipdl Bug 1495687 - Introduce initTemporaryStorage to nsIQuotaManagerService for testing; r=janv 2018-10-02 16:08:43 +02:00
PQuotaRequest.ipdl Bug 1495687 - Introduce initTemporaryStorage to nsIQuotaManagerService for testing; r=janv 2018-10-02 16:08:43 +02:00
PQuotaUsageRequest.ipdl
QuotaCommon.h
QuotaManager.h Bug 1482812: Patch for turning on the origin parser check on both beta and release. r=janv 2018-08-15 16:59:26 +02:00
QuotaManagerService.cpp Bug 1495687 - Introduce initTemporaryStorage to nsIQuotaManagerService for testing; r=janv 2018-10-02 16:08:43 +02:00
QuotaManagerService.h Bug 1482753 - Move battery/Types.h into hal/ and BatteryObserver into hal namespace. r=gsvelto 2018-08-13 10:57:50 +09:00
QuotaObject.h
QuotaRequests.cpp
QuotaRequests.h
QuotaResults.cpp
QuotaResults.h
SerializationHelpers.h
StorageManager.cpp Bug 1361330 - Part 1: Make quota stream constructors public and move the Create() helpers outside of the stream classes; r=asuth 2018-08-20 14:32:33 +02:00
StorageManager.h
UsageInfo.h