mshtml: Forward setting document.location to window object.
This commit is contained in:
parent
400d8897f6
commit
42a80aeac0
|
@ -1599,6 +1599,11 @@ static HRESULT WINAPI DocDispatchEx_InvokeEx(IDispatchEx *iface, DISPID id, LCID
|
||||||
{
|
{
|
||||||
HTMLDocument *This = DISPEX_THIS(iface);
|
HTMLDocument *This = DISPEX_THIS(iface);
|
||||||
|
|
||||||
|
if(This->window && id == DISPID_IHTMLDOCUMENT2_LOCATION && (wFlags & DISPATCH_PROPERTYPUT))
|
||||||
|
return IDispatchEx_InvokeEx(DISPATCHEX(This->window), DISPID_IHTMLWINDOW2_LOCATION, lcid, wFlags,
|
||||||
|
pdp, pvarRes, pei, pspCaller);
|
||||||
|
|
||||||
|
|
||||||
return IDispatchEx_InvokeEx(This->dispex, id, lcid, wFlags, pdp, pvarRes, pei, pspCaller);
|
return IDispatchEx_InvokeEx(This->dispex, id, lcid, wFlags, pdp, pvarRes, pei, pspCaller);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue