Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/interfaces.html |
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/interfaces.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/interfaces.html |
index a556244624dd259ced7b8081cc1526eb48e275d6..f649717d49a61bdd0e93868117f73bf416bc3f2b 100644 |
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/interfaces.html |
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/interfaces.html |
@@ -180,6 +180,7 @@ interface Node : EventTarget { |
readonly attribute DOMString? baseURI; |
readonly attribute Document? ownerDocument; |
+ readonly attribute Node rootNode; |
readonly attribute Node? parentNode; |
readonly attribute Element? parentElement; |
boolean hasChildNodes(); |
@@ -287,6 +288,7 @@ interface Element : Node { |
boolean hasAttributes(); |
[SameObject] readonly attribute NamedNodeMap attributes; |
+ sequence<DOMString> getAttributeNames(); |
DOMString? getAttribute(DOMString name); |
DOMString? getAttributeNS(DOMString? namespace, DOMString localName); |
void setAttribute(DOMString name, DOMString value); |
@@ -483,6 +485,7 @@ setup(function() { |
idlArray.add_objects({ |
Event: ['document.createEvent("Event")', 'new Event("foo")'], |
CustomEvent: ['new CustomEvent("foo")'], |
+ Document: ['new Document()'], |
XMLDocument: ['xmlDoc'], |
DOMImplementation: ['document.implementation'], |
DocumentFragment: ['document.createDocumentFragment()'], |