mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 824224 - IndexedDB blobs crash with 'ABORT: NULL actor value passed to non-nullable param.' r=cjones.
--HG-- extra : transplant_source : %FC%7F%83%B1%BCW%40%90%19M%96%18y%19%7B%A0%DE%E51h
This commit is contained in:
parent
78cf89c5ca
commit
08e9ca63f0
@ -1501,7 +1501,10 @@ IDBObjectStore::ConvertBlobsToActors(
|
||||
|
||||
BlobParent* actor =
|
||||
aContentParent->GetOrCreateActorForBlob(blob);
|
||||
NS_ASSERTION(actor, "This should never fail without aborting!");
|
||||
if (!actor) {
|
||||
// This can only fail if the child has crashed.
|
||||
return NS_ERROR_DOM_INDEXEDDB_UNKNOWN_ERR;
|
||||
}
|
||||
|
||||
aActors.AppendElement(actor);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user