Clean up Attr.idl
https://bugs.webkit.org/show_bug.cgi?id=171691
Reviewed by Andreas Kling.
Clean up Attr.idl to match the spec:
- https://dom.spec.whatwg.org/#interface-attr
No Web-facing behavior change except for Attr properties being enumerated
in a slightly different order.
* dom/Attr.idl:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@216256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog
index d396aad..dcc5b79 100644
--- a/Source/WebCore/ChangeLog
+++ b/Source/WebCore/ChangeLog
@@ -1,3 +1,18 @@
+2017-05-05 Chris Dumez <cdumez@apple.com>
+
+ Clean up Attr.idl
+ https://bugs.webkit.org/show_bug.cgi?id=171691
+
+ Reviewed by Andreas Kling.
+
+ Clean up Attr.idl to match the spec:
+ - https://dom.spec.whatwg.org/#interface-attr
+
+ No Web-facing behavior change except for Attr properties being enumerated
+ in a slightly different order.
+
+ * dom/Attr.idl:
+
2017-05-05 Antti Koivisto <antti@apple.com>
ASSERTION FAILED: !frame().document()->inRenderTreeUpdate() in WebCore::FrameView::layout(bool)
diff --git a/Source/WebCore/dom/Attr.idl b/Source/WebCore/dom/Attr.idl
index 4cf6533..b093511 100644
--- a/Source/WebCore/dom/Attr.idl
+++ b/Source/WebCore/dom/Attr.idl
@@ -23,15 +23,13 @@
JSGenerateToJSObject,
JSGenerateToNativeObject,
] interface Attr : Node {
- readonly attribute DOMString? name;
-
- readonly attribute boolean specified;
-
- [CEReactions, ImplementedAs=valueForBindings] attribute DOMString value;
-
- readonly attribute Element ownerElement;
-
readonly attribute DOMString? namespaceURI;
readonly attribute DOMString? prefix;
readonly attribute DOMString localName;
+ readonly attribute DOMString name;
+ [CEReactions, ImplementedAs=valueForBindings] attribute DOMString value;
+
+ readonly attribute Element? ownerElement;
+
+ readonly attribute boolean specified; // Useless; always returns true.
};