Jacek Caban (@jacek) commented about dlls/mshtml/navigate.c:
hres = IUri_GetDisplayUri(uri, &display_uri); if(FAILED(hres)) return hres;
- hres = navigate_uri(window, uri, display_uri, NULL, flags);
- if(hres != S_OK)
hres = S_OK;
- else
hres = navigate_uri(window, uri, display_uri, NULL, flags);
As far as I can tell, GetDisplayUri() never returns S_FALSE and I'm not sure what that would mean. Even if it did, this would probably be some sort of error here (same in a few other cases).