| 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;
|
|
|