Index: Source/core/dom/Node.idl |
diff --git a/Source/core/dom/Node.idl b/Source/core/dom/Node.idl |
index 3e3ec70d2405cb5672bc09221c73a22387b4bcd6..70c2daf760a4a3e3593c119cefd4442a256f89ae 100644 |
--- a/Source/core/dom/Node.idl |
+++ b/Source/core/dom/Node.idl |
@@ -22,6 +22,9 @@ |
CustomToV8, |
DependentLifetime |
] interface Node : EventTarget { |
+ //attribute DOMString testAttrOnNode; |
+ //[ExposeV8GetterAndSetter] attribute DOMString testAttrOnNodeWithGetterAndSetter; |
+ |
// NodeType |
const unsigned short ELEMENT_NODE = 1; |
const unsigned short ATTRIBUTE_NODE = 2; |
@@ -41,13 +44,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, ExposeV8GetterAndSetter] readonly attribute unsigned short nodeType; |
+ [PerWorldBindings, ExposeV8GetterAndSetter] readonly attribute Node parentNode; |
+ [PerWorldBindings, ExposeV8GetterAndSetter] readonly attribute NodeList childNodes; |
+ [PerWorldBindings, ExposeV8GetterAndSetter] readonly attribute Node firstChild; |
+ [PerWorldBindings, ExposeV8GetterAndSetter] readonly attribute Node lastChild; |
+ [PerWorldBindings, ExposeV8GetterAndSetter] readonly attribute Node previousSibling; |
+ [PerWorldBindings, ExposeV8GetterAndSetter] readonly attribute Node nextSibling; |
[PerWorldBindings] readonly attribute Document ownerDocument; |
[Custom, CustomElementCallbacks, PerWorldBindings, ActivityLogging=AccessForIsolatedWorlds, RaisesException] Node insertBefore(Node newChild, Node refChild); |