зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1686031 - Construct OriginMetadata with real suffix in GetOriginUsageOp::DoDirectoryWork; r=dom-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D106394
This commit is contained in:
Родитель
37dd4a946c
Коммит
2f5300328f
|
@ -8466,10 +8466,7 @@ nsresult GetOriginUsageOp::DoDirectoryWork(QuotaManager& aQuotaManager) {
|
|||
|
||||
AUTO_PROFILER_LABEL("GetOriginUsageOp::DoDirectoryWork", OTHER);
|
||||
|
||||
// We pass empty suffix to OringinMetadata for now (it's safe because it
|
||||
// isn't used at the moment).
|
||||
// XXX Add mSuffix to GetOriginUsageOp and use it here.
|
||||
const OriginMetadata originMetadata = {""_ns, mGroup,
|
||||
const OriginMetadata originMetadata = {mSuffix, mGroup,
|
||||
nsCString{mOriginScope.GetOrigin()}};
|
||||
|
||||
if (mFromMemory) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче