Commit 423c6f94 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

mshtml: DeleteMemberByDispID should return E_NOTIMPL.

parent f80c3a72
...@@ -1009,7 +1009,10 @@ static HRESULT WINAPI DispatchEx_DeleteMemberByName(IDispatchEx *iface, BSTR bst ...@@ -1009,7 +1009,10 @@ static HRESULT WINAPI DispatchEx_DeleteMemberByName(IDispatchEx *iface, BSTR bst
static HRESULT WINAPI DispatchEx_DeleteMemberByDispID(IDispatchEx *iface, DISPID id) static HRESULT WINAPI DispatchEx_DeleteMemberByDispID(IDispatchEx *iface, DISPID id)
{ {
DispatchEx *This = impl_from_IDispatchEx(iface); DispatchEx *This = impl_from_IDispatchEx(iface);
FIXME("(%p)->(%x)\n", This, id);
TRACE("(%p)->(%x)\n", This, id);
/* Not implemented by IE */
return E_NOTIMPL; return E_NOTIMPL;
} }
......
...@@ -1951,6 +1951,9 @@ static void test_script_run(void) ...@@ -1951,6 +1951,9 @@ static void test_script_run(void)
SysFreeString(tmp); SysFreeString(tmp);
ok(hres == S_OK, "GetDispID(document) failed: %08x\n", hres); ok(hres == S_OK, "GetDispID(document) failed: %08x\n", hres);
hres = IDispatchEx_DeleteMemberByDispID(document, id);
ok(hres == E_NOTIMPL, "DeleteMemberByDispID failed = %08x\n", hres);
VariantInit(&var); VariantInit(&var);
memset(&dp, 0, sizeof(dp)); memset(&dp, 0, sizeof(dp));
memset(&ei, 0, sizeof(ei)); memset(&ei, 0, sizeof(ei));
......
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