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

Unified Diff: core/dom/Node.idl

Issue 540533002: Roll IDL to Dartium37 (r181268) (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 6 years, 3 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
« no previous file with comments | « core/dom/NamedNodeMap.idl ('k') | core/dom/NodeFilter.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/dom/Node.idl
diff --git a/core/dom/Node.idl b/core/dom/Node.idl
index 690190de1ac8829964d04c8bff0cddede4a5c15e..329b27f0df8a0ee879848c9210aac5b007e8fd2e 100644
--- a/core/dom/Node.idl
+++ b/core/dom/Node.idl
@@ -36,37 +36,36 @@
const unsigned short DOCUMENT_FRAGMENT_NODE = 11;
const unsigned short NOTATION_NODE = 12;
- [PerWorldBindings] readonly attribute DOMString nodeName;
+ readonly attribute DOMString nodeName;
- [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBindings, CustomElementCallbacks] attribute DOMString nodeValue;
+ [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString nodeValue;
- [PerWorldBindings] readonly attribute unsigned short nodeType;
+ [DartNoAutoScope] readonly attribute unsigned short nodeType;
[PerWorldBindings] readonly attribute Node parentNode;
- [PerWorldBindings] readonly attribute NodeList childNodes;
- [PerWorldBindings] readonly attribute Node firstChild;
- [PerWorldBindings] readonly attribute Node lastChild;
- [PerWorldBindings] readonly attribute Node previousSibling;
- [PerWorldBindings] readonly attribute Node nextSibling;
+ [PerWorldBindings, DartNoAutoScope] readonly attribute NodeList childNodes;
+ [PerWorldBindings, DartNoAutoScope] readonly attribute Node firstChild;
+ [PerWorldBindings, DartNoAutoScope] readonly attribute Node lastChild;
+ [PerWorldBindings, DartNoAutoScope] readonly attribute Node previousSibling;
+ [PerWorldBindings, DartNoAutoScope] readonly attribute Node nextSibling;
[PerWorldBindings] readonly attribute Document ownerDocument;
- [Custom, CustomElementCallbacks, PerWorldBindings, ActivityLogging=ForIsolatedWorlds, RaisesException] Node insertBefore(Node newChild, Node refChild);
- [Custom, CustomElementCallbacks, PerWorldBindings, ActivityLogging=ForIsolatedWorlds, RaisesException] Node replaceChild(Node newChild, Node oldChild);
- [Custom, CustomElementCallbacks, PerWorldBindings, RaisesException] Node removeChild(Node oldChild);
- [Custom, CustomElementCallbacks, PerWorldBindings, ActivityLogging=ForIsolatedWorlds, RaisesException] Node appendChild(Node newChild);
+ [Custom, CustomElementCallbacks, PerWorldBindings, LogActivity, RaisesException] Node insertBefore(Node newChild, Node refChild);
+ [Custom, CustomElementCallbacks, PerWorldBindings, LogActivity, RaisesException] Node replaceChild(Node newChild, Node oldChild);
+ [Custom, CustomElementCallbacks, RaisesException] Node removeChild(Node oldChild);
+ [Custom, CustomElementCallbacks, PerWorldBindings, LogActivity, RaisesException] Node appendChild(Node newChild);
- boolean hasChildNodes();
- [CustomElementCallbacks, PerWorldBindings]
- Node cloneNode(optional boolean deep);
+ [ImplementedAs=hasChildren] boolean hasChildNodes();
+ [CustomElementCallbacks, DartCustom] Node cloneNode(optional boolean deep);
[CustomElementCallbacks] void normalize();
// Introduced in DOM Level 2:
- [TreatReturnedNullStringAs=Null, PerWorldBindings, MeasureAs=NodeNamespaceURI] readonly attribute DOMString namespaceURI; // Moved to Element and Attr in DOM4.
- [TreatReturnedNullStringAs=Null, PerWorldBindings, MeasureAs=NodeLocalName] readonly attribute DOMString localName; // Moved to Element and Attr in DOM4.
+ [TreatReturnedNullStringAs=Null, MeasureAs=NodeNamespaceURI] readonly attribute DOMString namespaceURI; // Moved to Element and Attr in DOM4.
+ [TreatReturnedNullStringAs=Null, MeasureAs=NodeLocalName] readonly attribute DOMString localName; // Moved to Element and Attr in DOM4.
// Introduced in DOM Level 3:
- [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMString baseURI;
+ [TreatReturnedNullStringAs=Null] readonly attribute DOMString baseURI;
- [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBindings, CustomElementCallbacks] attribute DOMString textContent;
+ [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, TreatUndefinedAs=NullString, CustomElementCallbacks] attribute DOMString textContent;
[MeasureAs=NodeIsSameNode] boolean isSameNode([Default=Undefined] optional Node other); // Removed in DOM4.
boolean isEqualNode(Node other);
@@ -85,7 +84,7 @@
unsigned short compareDocumentPosition(Node other);
// Introduced in DOM4
- [ImplementedAs=containsIncludingShadowDOM] boolean contains(Node other);
+ boolean contains(Node other);
// IE extensions
[PerWorldBindings] readonly attribute Element parentElement;
« no previous file with comments | « core/dom/NamedNodeMap.idl ('k') | core/dom/NodeFilter.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698