зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1789585 - Add file system as LockedGetUsage client. r=dom-storage-reviewers,janv
Depends on D163699 Differential Revision: https://phabricator.services.mozilla.com/D165322
This commit is contained in:
Родитель
b31c4e77db
Коммит
53d75ad2b8
|
@ -146,7 +146,8 @@ UsageInfo OriginInfo::LockedGetUsageForClient(Client::Type aClientType) {
|
|||
// which only use DatabaseUsage. If this assertion is lifted, the logic below
|
||||
// must be adapted.
|
||||
MOZ_ASSERT(aClientType == Client::Type::DOMCACHE ||
|
||||
aClientType == Client::Type::LS);
|
||||
aClientType == Client::Type::LS ||
|
||||
aClientType == Client::Type::FILESYSTEM);
|
||||
|
||||
return UsageInfo{DatabaseUsageType{mClientUsages[aClientType]}};
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче