зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1917466
- Cache: Add handling for invalidated directory locks; r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D219737
This commit is contained in:
Родитель
431299237f
Коммит
c9e9c193c8
|
@ -239,7 +239,7 @@ void Context::QuotaInitRunnable::DirectoryLockAcquired(DirectoryLock* aLock) {
|
|||
MOZ_DIAGNOSTIC_ASSERT(mDirectoryLock->Id() >= 0);
|
||||
mDirectoryMetadata->mDirectoryLockId = mDirectoryLock->Id();
|
||||
|
||||
if (mCanceled) {
|
||||
if (mCanceled || mDirectoryLock->Invalidated()) {
|
||||
Complete(NS_ERROR_ABORT);
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -23,4 +23,3 @@ skip-if = ["true"]
|
|||
["test_schema_26_upgrade.js"]
|
||||
|
||||
["test_slowStorageInitialization.js"]
|
||||
skip-if = ["true"]
|
||||
|
|
Загрузка…
Ссылка в новой задаче