Commit 06666c26 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Added support for IHTMLDOMAttribute::get_nodeName in detached attributes.

parent a9136b56
...@@ -126,8 +126,13 @@ static HRESULT WINAPI HTMLDOMAttribute_get_nodeName(IHTMLDOMAttribute *iface, BS ...@@ -126,8 +126,13 @@ static HRESULT WINAPI HTMLDOMAttribute_get_nodeName(IHTMLDOMAttribute *iface, BS
TRACE("(%p)->(%p)\n", This, p); TRACE("(%p)->(%p)\n", This, p);
if(!This->elem) { if(!This->elem) {
FIXME("NULL This->elem\n"); if(!This->name) {
return E_UNEXPECTED; 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); return IDispatchEx_GetMemberName(&This->elem->node.dispex.IDispatchEx_iface, This->dispid, p);
......
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