зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1917462 - IDB: Add handling for invalidated directory locks; r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D219631
This commit is contained in:
Родитель
e95b3e3870
Коммит
6a56cd9167
|
@ -15085,6 +15085,10 @@ void FactoryOp::DirectoryLockAcquired(DirectoryLock* aLock) {
|
|||
MOZ_ALWAYS_SUCCEEDS(self->Run());
|
||||
};
|
||||
|
||||
if (mDirectoryLock->Invalidated()) {
|
||||
return cleanupAndReturn(NS_ERROR_DOM_INDEXEDDB_ABORT_ERR);
|
||||
}
|
||||
|
||||
QM_WARNONLY_TRY(MOZ_TO_RESULT(DirectoryOpen()), cleanupAndReturn);
|
||||
}
|
||||
|
||||
|
|
|
@ -94,7 +94,6 @@ skip-if = ["true"]
|
|||
["test_schema23upgrade.js"]
|
||||
|
||||
["test_slowStorageInitialization.js"]
|
||||
skip-if = ["true"]
|
||||
|
||||
["test_snappyUpgrade.js"]
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче