mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 694804 - Make attempting to serialize an unserializable object in WyciwycChannelParent a real error. r=michal.novotny
This commit is contained in:
parent
c6b791606b
commit
60b1d95057
@ -216,8 +216,10 @@ WyciwygChannelParent::OnStartRequest(nsIRequest *aRequest, nsISupports *aContext
|
||||
nsCOMPtr<nsISerializable> serializable = do_QueryInterface(securityInfo);
|
||||
if (serializable)
|
||||
NS_SerializeToString(serializable, secInfoStr);
|
||||
else
|
||||
NS_WARNING("Can't serialize security info");
|
||||
else {
|
||||
NS_ERROR("Can't serialize security info");
|
||||
return NS_ERROR_UNEXPECTED;
|
||||
}
|
||||
}
|
||||
|
||||
if (mIPCClosed ||
|
||||
|
Loading…
Reference in New Issue
Block a user