mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 770864 - NPAPI stream destroyed with reason NPRES_NETWORK_ERR when the user leaves the page. r=gfritzsche
This commit is contained in:
parent
d9dd86b601
commit
ef4e8289ec
@ -746,7 +746,7 @@ nsNPAPIPluginStreamListener::OnStopBinding(nsPluginStreamListenerPeer* streamPee
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
NPReason reason = NS_FAILED(status) ? NPRES_NETWORK_ERR : NPRES_DONE;
|
||||
if (mRedirectDenied) {
|
||||
if (mRedirectDenied || status == NS_BINDING_ABORTED) {
|
||||
reason = NPRES_USER_BREAK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user