diff --git a/dlls/mshtml/htmlwindow.c b/dlls/mshtml/htmlwindow.c index e7f6144a795..d9f13467cd5 100644 --- a/dlls/mshtml/htmlwindow.c +++ b/dlls/mshtml/htmlwindow.c @@ -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) diff --git a/dlls/mshtml/tests/dom.c b/dlls/mshtml/tests/dom.c index e5275e8bbc6..dce65d541b6 100644 --- a/dlls/mshtml/tests/dom.c +++ b/dlls/mshtml/tests/dom.c @@ -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");