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

Unified Diff: Source/core/dom/Node.idl

Issue 998673002: Add [NewObject] and [SameObject] to various interfaces (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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 | « Source/core/dom/MutationRecord.idl ('k') | Source/core/dom/NodeIterator.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Node.idl
diff --git a/Source/core/dom/Node.idl b/Source/core/dom/Node.idl
index c4988825e1c5ad745e493f6fe88174751a97edc9..cc89c6c7706fdb2d054da9641983fdd0b33c1c52 100644
--- a/Source/core/dom/Node.idl
+++ b/Source/core/dom/Node.idl
@@ -47,7 +47,7 @@
[PerWorldBindings, ExposeJSAccessors] readonly attribute Node? parentNode;
[PerWorldBindings] readonly attribute Element? parentElement;
[ImplementedAs=hasChildren] boolean hasChildNodes();
- [PerWorldBindings, ExposeJSAccessors] readonly attribute NodeList childNodes;
+ [SameObject, PerWorldBindings, ExposeJSAccessors] readonly attribute NodeList childNodes;
[PerWorldBindings, ExposeJSAccessors] readonly attribute Node? firstChild;
[PerWorldBindings, ExposeJSAccessors] readonly attribute Node? lastChild;
[PerWorldBindings, ExposeJSAccessors] readonly attribute Node? previousSibling;
@@ -59,7 +59,7 @@
[CustomElementCallbacks] void normalize();
// FIXME: The deep argument should have a default value false.
- [CustomElementCallbacks] Node cloneNode(optional boolean deep);
+ [NewObject, CustomElementCallbacks] Node cloneNode(optional boolean deep);
boolean isEqualNode(Node? node);
const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01;
« no previous file with comments | « Source/core/dom/MutationRecord.idl ('k') | Source/core/dom/NodeIterator.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698