Commit 03ed7f48 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Return success in IHTMLWindow2::moveBy and resizeBy.

parent 22eab078
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment