Jacek Caban (@jacek) commented about dlls/mshtml/navigate.c:
} }
if(is_main_content_window(window))
if(frag_nav || is_main_content_window(window)) return super_navigate(window, uri, flags, headers, post_data, post_data_len);
This looks very ad-hoc. Admittedly that code is currently not well structured and could use some cleanup. I don't expect you to do all that, but adding random checks to fit the specific case does not look right.