Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/interfaces.html

Issue 1854003004: Import web-platform-tests@5a8700479d98852455bee6117558897867eb278a (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()'],

Powered by Google App Engine
This is Rietveld 408576698