diff --git a/components/script/dom/webidls/Element.webidl b/components/script/dom/webidls/Element.webidl index f2f18a5cc0b..f54fd0cf04e 100644 --- a/components/script/dom/webidls/Element.webidl +++ b/components/script/dom/webidls/Element.webidl @@ -28,10 +28,10 @@ interface Element : Node { attribute DOMString id; [Pure] attribute DOMString className; - [Constant] + [SameObject] readonly attribute DOMTokenList classList; - [Constant] + [SameObject] readonly attribute NamedNodeMap attributes; DOMString? getAttribute(DOMString name); DOMString? getAttributeNS(DOMString? namespace, DOMString localName);