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

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, 1 month 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 b0660000811f714a5263ccb98d53f5ecc0deb4a0..9b73d7ec081d419514d344898374c1000a4db549 100644
--- a/Source/core/dom/Node.idl
+++ b/Source/core/dom/Node.idl
@@ -41,13 +41,13 @@
// FIXME: the spec says this can also raise on retrieval.
[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);

Powered by Google App Engine
This is Rietveld 408576698