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?