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

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 5 years, 10 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/Element.idl ('k') | no next file » | 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 7833d9d2e599a0b4a274efc3aba655b2c092f768..c8901427a5288076e0fcba891ffb56970366e39f 100644
--- a/Source/core/dom/Node.idl
+++ b/Source/core/dom/Node.idl
@@ -40,13 +40,13 @@
[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;
[CustomElementCallbacks, PerWorldBindings, RaisesException, TypeChecking=Interface] Node insertBefore(Node newChild, Node? refChild);
[CustomElementCallbacks, PerWorldBindings, RaisesException, TypeChecking=Interface] Node replaceChild(Node newChild, Node oldChild);
« no previous file with comments | « Source/core/dom/Element.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698