mshtml: DeleteMemberByDispID should return E_NOTIMPL.

This commit is contained in:
Piotr Caban 2011-08-23 11:33:10 +02:00 committed by Alexandre Julliard
parent f80c3a7250
commit 423c6f9473
2 changed files with 7 additions and 1 deletions

View File

@ -1009,7 +1009,10 @@ static HRESULT WINAPI DispatchEx_DeleteMemberByName(IDispatchEx *iface, BSTR bst
static HRESULT WINAPI DispatchEx_DeleteMemberByDispID(IDispatchEx *iface, DISPID id)
{
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;
}

View File

@ -1951,6 +1951,9 @@ static void test_script_run(void)
SysFreeString(tmp);
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);
memset(&dp, 0, sizeof(dp));
memset(&ei, 0, sizeof(ei));