Bug 1932101 - QM: Add ScopedLogExtraInfo context for QuotaManager::GetOrCreateTemporaryOriginDirectory; r=dom-storage-reviewers,jari

Differential Revision: https://phabricator.services.mozilla.com/D229480
This commit is contained in:
Jan Varga 2024-11-19 15:42:14 +00:00
parent e9c251b459
commit 7c12aeeafd

View File

@ -3253,6 +3253,10 @@ QuotaManager::GetOrCreateTemporaryOriginDirectory(
MOZ_ASSERT(IsTemporaryGroupInitializedInternal(aOriginMetadata));
MOZ_ASSERT(IsTemporaryOriginInitializedInternal(aOriginMetadata));
ScopedLogExtraInfo scope{
ScopedLogExtraInfo::kTagContextTainted,
"dom::quota::QuotaManager::GetOrCreateTemporaryOriginDirectory"_ns};
// XXX Temporary band-aid fix until the root cause of uninitialized origins
// after obtaining a client directory lock via OpenClientDirectory is
// identified.