Jacek Caban (@jacek) commented about dlls/mshtml/htmlwindow.c:
free(This->global_props[i].name); free(This->global_props);
- if(This->location) {
This->location->window = NULL;
IHTMLLocation_Release(&This->location->IHTMLLocation_iface);
- }
With this patch, if a script modifies the object (for example by adding a new property), the change will be still visible after navigation. That doesn't seem right.