mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1067568 - Intermittent test_filehandle_readonly_exceptions.html | Assertion count 4 is greater than expected (ASSERTION: We don't know anyting about this file handle?!: 'Error', file dom/filehandle/FileService.cpp, line 234); r=bent
This commit is contained in:
parent
24b6f1a80d
commit
4d373d5e32
@ -321,6 +321,11 @@ IDBMutableFile::Open(FileMode aMode, ErrorResult& aError)
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
if (mInvalidated) {
|
||||
aError.Throw(NS_ERROR_DOM_FILEHANDLE_NOT_ALLOWED_ERR);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
nsRefPtr<IDBFileHandle> fileHandle =
|
||||
IDBFileHandle::Create(aMode, FileHandleBase::NORMAL, this);
|
||||
if (!fileHandle) {
|
||||
|
Loading…
Reference in New Issue
Block a user