зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1917457 - SDB: Add handling for invalidated directory locks; r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D219606
This commit is contained in:
Родитель
7f0b3513fc
Коммит
dd019e6efc
|
@ -1399,6 +1399,10 @@ void OpenOp::DirectoryLockAcquired(DirectoryLock* aLock) {
|
|||
MOZ_ALWAYS_SUCCEEDS(self->Run());
|
||||
};
|
||||
|
||||
if (mDirectoryLock->Invalidated()) {
|
||||
return cleanupAndReturn(NS_ERROR_ABORT);
|
||||
}
|
||||
|
||||
QM_TRY(MOZ_TO_RESULT(SendToIOThread()), cleanupAndReturn);
|
||||
}
|
||||
|
||||
|
|
|
@ -2,4 +2,3 @@
|
|||
head = "head.js"
|
||||
|
||||
["test_slowStorageInitialization.js"]
|
||||
skip-if = ["true"]
|
||||
|
|
Загрузка…
Ссылка в новой задаче