mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 04:30:57 +00:00
mshtml: Added support for IHTMLDOMAttribute::get_nodeName in detached attributes.
This commit is contained in:
parent
a9136b56f7
commit
06666c266d
|
@ -126,8 +126,13 @@ static HRESULT WINAPI HTMLDOMAttribute_get_nodeName(IHTMLDOMAttribute *iface, BS
|
|||
TRACE("(%p)->(%p)\n", This, p);
|
||||
|
||||
if(!This->elem) {
|
||||
FIXME("NULL This->elem\n");
|
||||
return E_UNEXPECTED;
|
||||
if(!This->name) {
|
||||
FIXME("No name available\n");
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
*p = SysAllocString(This->name);
|
||||
return *p ? S_OK : E_OUTOFMEMORY;
|
||||
}
|
||||
|
||||
return IDispatchEx_GetMemberName(&This->elem->node.dispex.IDispatchEx_iface, This->dispid, p);
|
||||
|
|
Loading…
Reference in a new issue