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

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

Issue 94403002: Move popular DOM attributes to prorotype chains (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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') | Source/core/dom/NodeList.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 ccb1dff78748170bc7dbb9c0b77e10be77ab9e37..1ece7cd1e679bbabf36fb6f45d8223582f4c07c3 100644
--- a/Source/core/dom/Node.idl
+++ b/Source/core/dom/Node.idl
@@ -40,13 +40,13 @@
[TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBindings, CustomElementCallbacks] attribute DOMString nodeValue;
- [PerWorldBindings] 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, ExposeJSAccessors] readonly attribute unsigned short nodeType;
+ [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] readonly attribute Document ownerDocument;
[Custom, CustomElementCallbacks, PerWorldBindings, ActivityLogging=ForIsolatedWorlds, RaisesException] Node insertBefore(Node newChild, Node refChild);
« no previous file with comments | « Source/core/dom/Element.idl ('k') | Source/core/dom/NodeList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698