diff --git a/dom/base/Element.h b/dom/base/Element.h index 99b8d9001c12..4b4bee2483cb 100644 --- a/dom/base/Element.h +++ b/dom/base/Element.h @@ -2196,11 +2196,6 @@ _elementName::Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult, \ #define NS_FORWARD_NSIDOMELEMENT_TO_GENERIC \ typedef mozilla::dom::Element Element; \ -NS_IMETHOD GetTagName(nsAString& aTagName) final override \ -{ \ - Element::GetTagName(aTagName); \ - return NS_OK; \ -} \ using Element::GetAttribute; \ NS_IMETHOD GetAttribute(const nsAString& name, nsAString& _retval) final \ override \ diff --git a/dom/interfaces/core/nsIDOMElement.idl b/dom/interfaces/core/nsIDOMElement.idl index f4421ed86139..6be26a09a552 100644 --- a/dom/interfaces/core/nsIDOMElement.idl +++ b/dom/interfaces/core/nsIDOMElement.idl @@ -27,8 +27,6 @@ interface nsIDOMMozNamedAttrMap; [uuid(6289999b-1008-4269-b42a-413ec5a9d3f4)] interface nsIDOMElement : nsIDOMNode { - readonly attribute DOMString tagName; - DOMString getAttribute(in DOMString name); void setAttribute(in DOMString name, in DOMString value);