gecko-dev/dom/quota
Ray Kraesig e2ee2f11df Bug 1891541 - [2/2] enforce that MozPromise only accepts static strings r=xpcom-reviewers,media-playback-reviewers,padenot,emilio
All present uses of the call-site arguments to MozPromise's methods
supply static strings. However, this is nowhere enforced. Do so.

Additionally, since this is the third or fourth time the present author
alone has personally implemented such an enforcement mechanism, create a
helper class to simplify doing so.

No functional changes.

Differential Revision: https://phabricator.services.mozilla.com/D207462
2024-04-24 17:02:49 +00:00
..
scripts/qm-try-analysis Bug 1864725 - Containerized setup for qm-try-analysis scripts r=jari 2024-03-22 14:30:36 +00:00
test Bug 1891332 - Replace debug MOZ_ASSERT with MOZ_RELEASE_ASSERT in storage tests. r=dom-storage-reviewers,janv 2024-04-17 03:26:30 +00:00
ActorsChild.cpp Bug 1808294 - Add QuotaManager::InitializeTemporaryStorage method; r=dom-storage-reviewers,jari 2023-12-08 05:55:05 +00:00
ActorsChild.h Bug 1874739 - Part 8: Make PQuota refcounted, r=dom-storage-reviewers,janv 2024-01-19 20:23:20 +00:00
ActorsParent.cpp Bug 1889372 - Have the QuotaManagerStorageIsNetworkResource crash annotation on Windows. r=dom-storage-reviewers,janv 2024-04-10 15:47:15 +00:00
ActorsParent.h Bug 1840770 - Move PQuotaParent implementation to separate source files; r=dom-storage-reviewers,jari 2023-07-13 09:57:18 +00:00
Assertions.cpp Bug 1839417 - Remove duplicated code for assertions; r=dom-storage-reviewers,asuth 2023-06-21 09:09:51 +00:00
Assertions.h
AssertionsImpl.h
CachingDatabaseConnection.cpp Bug 1858989 - Change CachingDatabaseConnection to use serial event targets; r=dom-storage-reviewers,asuth 2024-03-14 07:04:30 +00:00
CachingDatabaseConnection.h Bug 1858989 - Change CachingDatabaseConnection to use serial event targets; r=dom-storage-reviewers,asuth 2024-03-14 07:04:30 +00:00
CanonicalQuotaObject.cpp Bug 1781201 - Convert GetOriginDirectory/DeleteOriginDirectory arguments into a single argument; r=hsingh 2023-05-03 02:05:11 +00:00
CanonicalQuotaObject.h
CheckedUnsafePtr.h Bug 1789399 - Print out the creation stack and the last assignment stack of CheckedUnsafePtr when it is unsafe. r=dom-worker-reviewers,janv,smaug 2023-03-01 09:28:59 +00:00
CipherKeyManager.h Bug 1835298: Encrypt CacheAPI data on disk in PBM.r=dom-storage-reviewers,janv 2023-10-27 14:10:08 +00:00
CipherStrategy.h Bug 1843038 - Make CypherStrategy::DeserializeKey fallible, r=janv 2023-07-18 14:32:57 +00:00
Client.cpp
Client.h Bug 1827377 - Add support for clearing storages in private repository; r=hsingh 2023-04-26 08:23:13 +00:00
ClientImpl.h
ClientUsageArray.cpp
ClientUsageArray.h
CommonMetadata.h Bug 1808294 - Add a common way to create quota client directories; r=dom-storage-reviewers,jari 2023-10-12 14:55:59 +00:00
components.conf Bug 1553105 - Make URL.origin return "null" if protocol doesn't have the URI_HAS_WEB_EXPOSED_ORIGIN flag r=nika,necko-reviewers,kershaw 2023-09-27 10:29:17 +00:00
Config.h Bug 1858989 - Bring back owning thread assertions; r=dom-storage-reviewers,asuth 2024-03-14 07:04:30 +00:00
Constants.h Bug 1840545 - Move some constants to Constants.h; r=dom-storage-reviewers,jari 2023-07-04 15:33:38 +00:00
DebugOnlyMacro.h
DecryptingInputStream_impl.h Bug 1843038 - Make CypherStrategy::DeserializeKey fallible, r=janv 2023-07-18 14:32:57 +00:00
DecryptingInputStream.cpp
DecryptingInputStream.h Bug 1818305 - Part 2: Add a streamStatus method to nsIInputStream, r=xpcom-reviewers,necko-reviewers,geckoview-reviewers,valentin,jesup,m_kato,mccr8 2023-03-15 19:52:34 +00:00
DirectoryLock.h Bug 1808294 - Add DirectoryLock::MustWait method; r=dom-storage-reviewers,hsingh,jari 2024-02-12 10:24:55 +00:00
DirectoryLockCategory.h Bug 1808294 - Add support for directory lock categories; r=dom-storage-reviewers,aiunusov,jari 2024-02-12 10:24:53 +00:00
DirectoryLockImpl.cpp Bug 1808294 - Add DirectoryLock::MustWait method; r=dom-storage-reviewers,hsingh,jari 2024-02-12 10:24:55 +00:00
DirectoryLockImpl.h Bug 1808294 - Add DirectoryLock::MustWait method; r=dom-storage-reviewers,hsingh,jari 2024-02-12 10:24:55 +00:00
DummyCipherStrategy.h Bug 1843038 - Make CypherStrategy::DeserializeKey fallible, r=janv 2023-07-18 14:32:57 +00:00
EncryptedBlock.h Bug 1867394: Zero-initialize first EncryptedBlock.r=asuth,dom-storage-reviewers 2023-12-04 21:51:22 +00:00
EncryptingOutputStream_impl.h Bug 1864123 - Optimize flushing to base stream; r=dom-storage-reviewers,asuth,hsingh 2023-11-24 10:02:29 +00:00
EncryptingOutputStream.cpp
EncryptingOutputStream.h Bug 1864123 - Optimize flushing to base stream; r=dom-storage-reviewers,asuth,hsingh 2023-11-24 10:02:29 +00:00
FileStreams.cpp
FileStreams.h
FileUtils.cpp Bug 1840545 - Move some file utils to separate files; r=dom-storage-reviewers,jari 2023-07-04 15:33:39 +00:00
FileUtils.h Bug 1840545 - Move some file utils to separate files; r=dom-storage-reviewers,jari 2023-07-04 15:33:39 +00:00
FirstInitializationAttempts.h
FirstInitializationAttemptsImpl.h
Flatten.h
ForwardDecls.h Bug 1749504 - Introduce a new method QuotaManager::OpenStorageDirectory; r=dom-storage-reviewers,jstutte 2023-09-17 06:37:28 +00:00
GroupInfo.cpp
GroupInfo.h
GroupInfoPair.cpp Bug 1827376: Introduced a new persistence type 'Private' for PBM.r=janv,dom-storage-reviewers 2023-04-25 11:34:36 +00:00
GroupInfoPair.h Bug 1827376: Introduced a new persistence type 'Private' for PBM.r=janv,dom-storage-reviewers 2023-04-25 11:34:36 +00:00
InitializationTypes.cpp
InitializationTypes.h
IPCQuotaObject.ipdlh Bug 1880372 - Include headers for ManagedEndpoint/Endpoint if it is used in a struct or union; r=nika,media-playback-reviewers,padenot 2024-02-15 22:16:42 +00:00
IPCStreamCipherStrategy.h
moz.build Bug 1808294 - Add support for directory lock categories; r=dom-storage-reviewers,aiunusov,jari 2024-02-12 10:24:53 +00:00
NormalOriginOperationBase.cpp Bug 1749504 - Allow to do more complex directory opening in derived classes of NormalOriginOperationsBase; r=dom-storage-reviewers,jstutte 2023-09-13 16:41:58 +00:00
NormalOriginOperationBase.h Bug 1749504 - Allow to do more complex directory opening in derived classes of NormalOriginOperationsBase; r=dom-storage-reviewers,jstutte 2023-09-13 16:41:58 +00:00
nsIndexedDBProtocolHandler.cpp
nsIndexedDBProtocolHandler.h
nsIQuotaCallbacks.idl
nsIQuotaManagerService.idl Bug 1808294 - Add a common way to create quota client directories; r=dom-storage-reviewers,jari 2023-10-12 14:55:59 +00:00
nsIQuotaRequests.idl
nsIQuotaResults.idl Bug 1873777 - Remove [function] attribute from interfaces which are not meant to be callbacks r=mccr8 2024-01-12 19:05:26 +00:00
NSSCipherStrategy.cpp Bug 1843038 - Make CypherStrategy::DeserializeKey fallible, r=janv 2023-07-18 14:32:57 +00:00
NSSCipherStrategy.h Bug 1843038 - Make CypherStrategy::DeserializeKey fallible, r=janv 2023-07-18 14:32:57 +00:00
OriginInfo.cpp Bug 1781201 - Generate unique anonymous origins for private browsing; r=hsingh 2023-05-04 04:50:43 +00:00
OriginInfo.h Bug 1781201 - Add mStorageOrigin to PrincipalMetadata; r=hsingh 2023-05-03 02:05:11 +00:00
OriginOperationBase.cpp Bug 1749504 - Add not null strong reference to QuotaManager from OriginOperatiosBase; r=dom-storage-reviewers,jstutte 2023-09-13 16:41:57 +00:00
OriginOperationBase.h Bug 1749504 - Add not null strong reference to QuotaManager from OriginOperatiosBase; r=dom-storage-reviewers,jstutte 2023-09-13 16:41:57 +00:00
OriginOperations.cpp Bug 1808294 - Add QuotaManager::InitializeTemporaryStorage method; r=dom-storage-reviewers,jari 2023-12-08 05:55:05 +00:00
OriginOperations.h Bug 1808294 - Add QuotaManager::InitializeTemporaryStorage method; r=dom-storage-reviewers,jari 2023-12-08 05:55:05 +00:00
OriginParser.cpp Bug 1770944 - Remove other references to inBrowserElement, r=cookie-reviewers,valentin,janv,decoder 2024-03-07 13:04:23 +00:00
OriginParser.h Bug 1770944 - Remove other references to inBrowserElement, r=cookie-reviewers,valentin,janv,decoder 2024-03-07 13:04:23 +00:00
OriginScope.h
PersistenceType.cpp Bug 1827376: Introduced a new persistence type 'Private' for PBM.r=janv,dom-storage-reviewers 2023-04-25 11:34:36 +00:00
PersistenceType.h Bug 1827376: Introduced a new persistence type 'Private' for PBM.r=janv,dom-storage-reviewers 2023-04-25 11:34:36 +00:00
PQuota.ipdl Bug 1874739 - Part 8: Make PQuota refcounted, r=dom-storage-reviewers,janv 2024-01-19 20:23:20 +00:00
PQuotaRequest.ipdl Bug 1808294 - Add QuotaManager::InitializeTemporaryStorage method; r=dom-storage-reviewers,jari 2023-12-08 05:55:05 +00:00
PQuotaUsageRequest.ipdl Bug 1808294 - Extend nsIQuotaOriginUsageResult to match UsageInfo; r=dom-storage-reviewers,jari 2023-10-06 13:33:13 +00:00
PRemoteQuotaObject.ipdl Bug 1867360 - Require toplevel protocols to specify which processes they expect to be bound in, r=decoder,ipc-reviewers,necko-reviewers,media-playback-reviewers,profiler-reviewers,win-reviewers,aosmond,rkraesig,mccr8,kershaw 2024-01-18 23:07:18 +00:00
QMResult.cpp
QMResult.h
QuotaCommon.cpp Bug 1891541 - [2/2] enforce that MozPromise only accepts static strings r=xpcom-reviewers,media-playback-reviewers,padenot,emilio 2024-04-24 17:02:49 +00:00
QuotaCommon.h Bug 1891541 - [2/2] enforce that MozPromise only accepts static strings r=xpcom-reviewers,media-playback-reviewers,padenot,emilio 2024-04-24 17:02:49 +00:00
QuotaManager.h Bug 934640 - Add methods for checking origin and client directory existence; r=dom-storage-reviewers,asuth 2024-03-25 10:54:32 +00:00
QuotaManagerImpl.h Bug 1839417 - Move QuotaManager::CollectPendingOriginsForListing implementation to QuotaManagerImpl.h; r=dom-storage-reviewers,asuth 2023-06-22 08:04:16 +00:00
QuotaManagerService.cpp Bug 1874739 - Part 8: Make PQuota refcounted, r=dom-storage-reviewers,janv 2024-01-19 20:23:20 +00:00
QuotaManagerService.h
QuotaObject.cpp
QuotaObject.h
QuotaParent.cpp Bug 1874739 - Part 8: Make PQuota refcounted, r=dom-storage-reviewers,janv 2024-01-19 20:23:20 +00:00
QuotaParent.h Bug 1874739 - Part 8: Make PQuota refcounted, r=dom-storage-reviewers,janv 2024-01-19 20:23:20 +00:00
QuotaRequestBase.cpp Bug 1749504 - Add not null strong reference to QuotaManager from OriginOperatiosBase; r=dom-storage-reviewers,jstutte 2023-09-13 16:41:57 +00:00
QuotaRequestBase.h Bug 1749504 - Remove NormalOriginOperationBase members related to directory locking; r=dom-storage-reviewers,jstutte 2023-09-13 16:41:58 +00:00
QuotaRequests.cpp
QuotaRequests.h
QuotaResults.cpp Bug 1808294 - Extend nsIQuotaOriginUsageResult to match UsageInfo; r=dom-storage-reviewers,jari 2023-10-06 13:33:13 +00:00
QuotaResults.h Bug 1808294 - Extend nsIQuotaOriginUsageResult to match UsageInfo; r=dom-storage-reviewers,jari 2023-10-06 13:33:13 +00:00
QuotaUsageRequestBase.cpp Bug 1808294 - Rename EnsureTemporaryStorageIsInitialized to EnsureTemporaryStorageIsInitializedInternal; r=dom-storage-reviewers,asuth 2023-12-08 05:55:04 +00:00
QuotaUsageRequestBase.h Bug 1749504 - Remove NormalOriginOperationBase members related to directory locking; r=dom-storage-reviewers,jstutte 2023-09-13 16:41:58 +00:00
RemoteQuotaObject.cpp
RemoteQuotaObject.h
RemoteQuotaObjectChild.cpp
RemoteQuotaObjectChild.h
RemoteQuotaObjectParent.cpp
RemoteQuotaObjectParent.h
RemoteQuotaObjectParentTracker.h
RemoveParen.h
ResolvableNormalOriginOp.h Bug 1749504 - Remove NormalOriginOperationBase members related to directory locking; r=dom-storage-reviewers,jstutte 2023-09-13 16:41:58 +00:00
ResultExtensions.h
SanitizationUtils.cpp Bug 1839417 - Move sanitization methods to separate files; r=dom-storage-reviewers,asuth 2023-06-22 08:04:16 +00:00
SanitizationUtils.h Bug 1839417 - Move sanitization methods to separate files; r=dom-storage-reviewers,asuth 2023-06-22 08:04:16 +00:00
ScopedLogExtraInfo.cpp Bug 1881526 - Add support for reporting broken origins on disk; r=dom-storage-reviewers,asuth 2024-03-07 06:34:01 +00:00
ScopedLogExtraInfo.h Bug 1881526 - Add support for reporting broken origins on disk; r=dom-storage-reviewers,asuth 2024-03-07 06:34:01 +00:00
SerializationHelpers.h Bug 1770944 - Remove other references to inBrowserElement, r=cookie-reviewers,valentin,janv,decoder 2024-03-07 13:04:23 +00:00
StorageHelpers.cpp
StorageHelpers.h
StorageManager.cpp Bug 1769913 - P3 Remove WorkerRunnable::mWorkerPrivate. r=dom-worker-reviewers,asuth 2024-04-19 09:41:58 +00:00
StorageManager.h
StorageOriginAttributes.cpp Bug 1887719 - More consistently use UTF8String/nsCString for URLs. r=necko-reviewers,webidl,anti-tracking-reviewers,places-reviewers,jari,kershaw,janv,smaug,hsivonen 2024-04-04 11:49:57 +00:00
StorageOriginAttributes.h Bug 1770944 - Fix StorageOriginAttributes::CreateSuffix; r=aiunusov 2024-03-07 13:04:23 +00:00
StreamUtils.cpp Bug 1839417 - Move stream helpers to separate files; r=dom-storage-reviewers,asuth 2023-06-22 08:04:17 +00:00
StreamUtils.h Bug 1839417 - Move stream helpers to separate files; r=dom-storage-reviewers,asuth 2023-06-22 08:04:17 +00:00
StringifyUtils.cpp Bug 1727526 - Have a Stringifyable base class. r=dom-storage-reviewers,janv 2023-12-11 15:17:12 +00:00
StringifyUtils.h Bug 1727526 - Have a Stringifyable base class. r=dom-storage-reviewers,janv 2023-12-11 15:17:12 +00:00
UsageInfo.h