gecko-dev/dom/quota
Jan Varga 6caab074de Bug 1624802 - Refactor tests in dom/quota/test; r=dom-workers-and-storage-reviewers,ttung
The refactoring consists of:
- moving tests into dedicated directories for given test type
  (browser, mochitest, xpcshell)
- replacing add_test with addTest in browser tests to share common setup code
- adding a way to synchronously load scripts in all test types by providing a
  path relative to the top level directory
- adding a way to explicitely run a mochitest inside a worker context
  (loadWorkerScript)
- removing the need to declare testGenerator in tests
- removing the need to set some common preferences in individual tests
- sharing common functions for:
  - system context (system.js)
  - content context (content.js)
  - browser tests (browser.js)
  - mochitest tests (mochitest.js)
  - xpcshell tests (xpcshell.js)
  - nested content test inside a browser test (nestedtest.js)
  - buffer/view/blob/file (file.js)

Differential Revision: https://phabricator.services.mozilla.com/D73149
2020-05-08 09:49:52 +00:00
..
test Bug 1624802 - Refactor tests in dom/quota/test; r=dom-workers-and-storage-reviewers,ttung 2020-05-08 09:49:52 +00:00
ActorsChild.cpp Bug 1624802 - Add a method for retrieving storage name in tests; r=dom-workers-and-storage-reviewers,ttung 2020-05-05 06:25:18 +00:00
ActorsChild.h Bug 1624802 - Add a method for retrieving storage name in tests; r=dom-workers-and-storage-reviewers,ttung 2020-05-05 06:25:18 +00:00
ActorsParent.cpp Bug 1626570 - Improve handling of copying arrays in dom/quota/. r=dom-workers-and-storage-reviewers,janv 2020-05-05 12:58:56 +00:00
ActorsParent.h
CheckedUnsafePtr.h Bug 1620632 - Rename confusingly named types/macros for relocation handling of nsTArray. r=froydnj 2020-03-20 17:04:27 +00:00
Client.cpp Bug 1619592 - Refactor client type checks using new Client::IsValidType method; r=dom-workers-and-storage-reviewers,sg 2020-03-17 13:06:30 +00:00
Client.h Bug 1619592 - Refactor client type checks using new Client::IsValidType method; r=dom-workers-and-storage-reviewers,sg 2020-03-17 13:06:30 +00:00
FileStreams.cpp Bug 1626973 - Add assertions for result of MaybeUpdateSize. r=janv,dom-workers-and-storage-reviewers 2020-04-03 16:16:50 +00:00
FileStreams.h
InitializationTypes.h Bug 1619910 - P2 - Collect the success rates of upgrades from indexedDB/ and storage/persistent/ directory; r=janv,dom-workers-and-storage-reviewers 2020-03-11 12:52:04 +00:00
MemoryOutputStream.cpp
MemoryOutputStream.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/quota. r=dom-workers-and-storage-reviewers,janv 2020-02-12 10:25:22 +00:00
OriginScope.h
PQuota.ipdl Bug 1624802 - Add a method for retrieving storage name in tests; r=dom-workers-and-storage-reviewers,ttung 2020-05-05 06:25:18 +00:00
PQuotaRequest.ipdl Bug 1624802 - Add a method for retrieving storage name in tests; r=dom-workers-and-storage-reviewers,ttung 2020-05-05 06:25:18 +00:00
PQuotaUsageRequest.ipdl
PersistenceType.cpp Bug 1619592 - Refactor persistence type checks using new IsValidPersistenceType method; r=dom-workers-and-storage-reviewers,sg 2020-03-17 13:06:17 +00:00
PersistenceType.h Bug 1619592 - Refactor persistence type checks using new IsValidPersistenceType method; r=dom-workers-and-storage-reviewers,sg 2020-03-17 13:06:17 +00:00
QuotaCommon.cpp Bug 1633326 - Add an additional warning message that shows the file path when it fails to create a file; r=janv,dom-workers-and-storage-reviewers 2020-04-27 08:38:55 +00:00
QuotaCommon.h Bug 1626846 - Disable useDOSDevicePathSyntax for QuotaStorage on Windows; r=dom-workers-and-storage-reviewers,janv 2020-04-06 09:28:35 +00:00
QuotaManager.h Bug 1624802 - Add a pref for overriding storage name; r=dom-workers-and-storage-reviewers,ttung 2020-05-05 06:24:17 +00:00
QuotaManagerService.cpp Bug 1624802 - Add a method for retrieving storage name in tests; r=dom-workers-and-storage-reviewers,ttung 2020-05-05 06:25:18 +00:00
QuotaManagerService.h Bug 1617653 - Remove nsAutoPtr usage from localstorage, quota, storage, simpledb. r=dom-workers-and-storage-reviewers,sg 2020-02-25 23:14:57 +00:00
QuotaObject.h Bug 1626973 - Add assertions for result of MaybeUpdateSize. r=janv,dom-workers-and-storage-reviewers 2020-04-03 16:16:50 +00:00
QuotaRequests.cpp
QuotaRequests.h
QuotaResults.cpp Bug 1615998 - QM: Remove nsIQuotaOriginsResult interface; r=ttung,dom-workers-and-storage-reviewers,sg 2020-02-22 01:03:26 +00:00
QuotaResults.h Bug 1615998 - QM: Remove nsIQuotaOriginsResult interface; r=ttung,dom-workers-and-storage-reviewers,sg 2020-02-22 01:03:26 +00:00
SerializationHelpers.h
StorageManager.cpp Bug 1619112 part 3. Pass UTF8 strings to MaybeRejectWithType/RangeError promise methods. r=smaug 2020-03-06 21:05:48 +00:00
StorageManager.h
UsageInfo.h
components.conf
moz.build Bug 1624802 - Refactor tests in dom/quota/test; r=dom-workers-and-storage-reviewers,ttung 2020-05-08 09:49:52 +00:00
nsIQuotaCallbacks.idl
nsIQuotaManagerService.idl Bug 1624802 - Add a method for retrieving storage name in tests; r=dom-workers-and-storage-reviewers,ttung 2020-05-05 06:25:18 +00:00
nsIQuotaRequests.idl Bug 1615998 - QM: Remove nsIQuotaOriginsResult interface; r=ttung,dom-workers-and-storage-reviewers,sg 2020-02-22 01:03:26 +00:00
nsIQuotaResults.idl Bug 1615998 - QM: Remove nsIQuotaOriginsResult interface; r=ttung,dom-workers-and-storage-reviewers,sg 2020-02-22 01:03:26 +00:00
nsIndexedDBProtocolHandler.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/quota. r=dom-workers-and-storage-reviewers,janv 2020-02-12 10:25:22 +00:00
nsIndexedDBProtocolHandler.h