mshtml: Handle aborts synchronously in nsChannelBSC_stop_binding.
This commit is contained in:
parent
d7a2da5730
commit
af08c97bf9
@ -1376,6 +1376,7 @@ static HRESULT nsChannelBSC_stop_binding(BSCallback *bsc, HRESULT result)
|
|||||||
{
|
{
|
||||||
nsChannelBSC *This = nsChannelBSC_from_BSCallback(bsc);
|
nsChannelBSC *This = nsChannelBSC_from_BSCallback(bsc);
|
||||||
|
|
||||||
|
if(result != E_ABORT) {
|
||||||
if(FAILED(result))
|
if(FAILED(result))
|
||||||
handle_navigation_error(This, result);
|
handle_navigation_error(This, result);
|
||||||
else if(This->window) {
|
else if(This->window) {
|
||||||
@ -1383,6 +1384,7 @@ static HRESULT nsChannelBSC_stop_binding(BSCallback *bsc, HRESULT result)
|
|||||||
if(SUCCEEDED(result))
|
if(SUCCEEDED(result))
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
on_stop_nsrequest(This, result);
|
on_stop_nsrequest(This, result);
|
||||||
return S_OK;
|
return S_OK;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user