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

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

Issue 158713002: Move popular DOM attributes to prototype chains (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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: Source/core/dom/Node.idl
diff --git a/Source/core/dom/Node.idl b/Source/core/dom/Node.idl
index 8cc5c1eb9cff31993feb396a6d26b98f77ee0ada..b9b81b39a67e37f98af5606039a1305b91fdcae3 100644
--- a/Source/core/dom/Node.idl
+++ b/Source/core/dom/Node.idl
@@ -41,13 +41,13 @@
[TreatReturnedNullStringAs=Null, TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString nodeValue;
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] readonly attribute Document ownerDocument;
+ [PerWorldBindings, ExposeJSAccessors] readonly attribute Node parentNode;
+ [PerWorldBindings, ExposeJSAccessors] readonly attribute NodeList childNodes;
+ [PerWorldBindings, ExposeJSAccessors] readonly attribute Node firstChild;
+ [PerWorldBindings, ExposeJSAccessors] readonly attribute Node lastChild;
+ [PerWorldBindings, ExposeJSAccessors] readonly attribute Node previousSibling;
+ [PerWorldBindings, ExposeJSAccessors] readonly attribute Node nextSibling;
+ [PerWorldBindings, ExposeJSAccessors] readonly attribute Document ownerDocument;
[Custom, CustomElementCallbacks, PerWorldBindings, LogActivity, RaisesException] Node insertBefore(Node newChild, Node refChild);
[Custom, CustomElementCallbacks, PerWorldBindings, LogActivity, RaisesException] Node replaceChild(Node newChild, Node oldChild);
« LayoutTests/fast/dom/dom-attribute-on-prototype-chain.html ('K') | « Source/core/dom/Element.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698