mshtml: Return success in IHTMLWindow2::moveBy and resizeBy.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
22eab07811
commit
03ed7f483d
|
@ -1461,7 +1461,7 @@ static HRESULT WINAPI HTMLWindow2_moveBy(IHTMLWindow2 *iface, LONG x, LONG y)
|
|||
{
|
||||
HTMLWindow *This = impl_from_IHTMLWindow2(iface);
|
||||
FIXME("(%p)->(%d %d)\n", This, x, y);
|
||||
return E_NOTIMPL;
|
||||
return S_FALSE;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI HTMLWindow2_resizeTo(IHTMLWindow2 *iface, LONG x, LONG y)
|
||||
|
@ -1475,7 +1475,7 @@ static HRESULT WINAPI HTMLWindow2_resizeBy(IHTMLWindow2 *iface, LONG x, LONG y)
|
|||
{
|
||||
HTMLWindow *This = impl_from_IHTMLWindow2(iface);
|
||||
FIXME("(%p)->(%d %d)\n", This, x, y);
|
||||
return E_NOTIMPL;
|
||||
return S_FALSE;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI HTMLWindow2_get_external(IHTMLWindow2 *iface, IDispatch **p)
|
||||
|
|
|
@ -6646,6 +6646,12 @@ static void test_window(IHTMLDocument2 *doc)
|
|||
set_window_status(window, "Test!");
|
||||
test_history(window);
|
||||
|
||||
hres = IHTMLWindow2_moveBy(window, 0, 0);
|
||||
ok(hres == S_FALSE, "moveBy failed: %08x\n", hres);
|
||||
|
||||
hres = IHTMLWindow2_resizeBy(window, 0, 0);
|
||||
ok(hres == S_FALSE, "resizeBy failed: %08x\n", hres);
|
||||
|
||||
hres = IHTMLWindow2_QueryInterface(window, &IID_IHTMLWindow5, (void**)&window5);
|
||||
if(SUCCEEDED(hres)) {
|
||||
ok(window5 != NULL, "window5 == NULL\n");
|
||||
|
|
Loading…
Reference in New Issue