Skip to content
Permalink
Browse files
DOMElement::tagName() is unimplemented
https://bugs.webkit.org/show_bug.cgi?id=31746

Reviewed by Darin Adler.

* DOMCoreClasses.cpp:
(DOMElement::tagName):
Create a BString from the element's tag name, and release its BSTR
into result.

Canonical link: https://commits.webkit.org/42709@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@51280 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Jon Honeycutt committed Nov 21, 2009
1 parent 193be93 commit 67b13ef0ac2e06ca243c441c87e862efec2a89ef
Showing 2 changed files with 22 additions and 3 deletions.
@@ -1,3 +1,16 @@
2009-11-20 Jon Honeycutt <jhoneycutt@apple.com>

DOMElement::tagName() is unimplemented

https://bugs.webkit.org/show_bug.cgi?id=31746

Reviewed by Darin Adler.

* DOMCoreClasses.cpp:
(DOMElement::tagName):
Create a BString from the element's tag name, and release its BSTR
into result.

2009-11-20 Jon Honeycutt <jhoneycutt@apple.com>

DOMNode::childNodes() is unimplemented
@@ -834,10 +834,16 @@ HRESULT STDMETHODCALLTYPE DOMElement::lineBoxRects(
// IDOMElement ----------------------------------------------------------------

HRESULT STDMETHODCALLTYPE DOMElement::tagName(
/* [retval][out] */ BSTR* /*result*/)
/* [retval][out] */ BSTR* result)
{
ASSERT_NOT_REACHED();
return E_NOTIMPL;
if (!m_element)
return E_FAIL;

if (!result)
return E_POINTER;

*result = BString(m_element->tagName()).release();
return S_OK;
}

HRESULT STDMETHODCALLTYPE DOMElement::getAttribute(

0 comments on commit 67b13ef

Please sign in to comment.