2 Nov
2022
2 Nov
'22
1:39 p.m.
Jacek Caban (@jacek) commented about dlls/mshtml/navigate.c:
(nsIRequest*)&This->nschannel->nsIHttpChannel_iface, This->nscontext, &This->nsstream->nsIInputStream_iface, This->bsc.read-This->nsstream->buf_size, This->nsstream->buf_size); - if(NS_FAILED(nsres)) + if(NS_FAILED(nsres)) { + if(nsres == NS_BINDING_ABORTED) + return E_ABORT; ERR("OnDataAvailable failed: %08lx\n", nsres);
It seems like a good candidate for map_nsresult(), is there any reason to special-case E_ABORT? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/1206#note_12783