mshtml: DeleteMemberByDispID should return E_NOTIMPL.
This commit is contained in:
parent
f80c3a7250
commit
423c6f9473
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue