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

Unified Diff: dom/Node.idl

Issue 13163002: Roll IDLs. (Closed) Base URL: http://dart.googlecode.com/svn/third_party/WebCore/
Patch Set: Created 7 years, 9 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: dom/Node.idl
===================================================================
--- dom/Node.idl (revision 20375)
+++ dom/Node.idl (working copy)
@@ -49,33 +49,34 @@
const unsigned short DOCUMENT_FRAGMENT_NODE = 11;
const unsigned short NOTATION_NODE = 12;
- readonly attribute [TreatReturnedNullStringAs=Null] DOMString nodeName;
+ readonly attribute [TreatReturnedNullStringAs=Null, V8PerWorldBindings] DOMString nodeName;
// FIXME: the spec says this can also raise on retrieval.
- attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] DOMString nodeValue
+ attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, V8PerWorldBindings] DOMString nodeValue
setter raises(DOMException);
- readonly attribute unsigned short nodeType;
- readonly attribute Node parentNode;
- readonly attribute NodeList childNodes;
- readonly attribute Node firstChild;
- readonly attribute Node lastChild;
- readonly attribute Node previousSibling;
- readonly attribute Node nextSibling;
- readonly attribute Document ownerDocument;
+ readonly attribute [V8PerWorldBindings] unsigned short nodeType;
+ readonly attribute [V8PerWorldBindings] Node parentNode;
+ readonly attribute [V8PerWorldBindings] NodeList childNodes;
+ readonly attribute [V8PerWorldBindings] Node firstChild;
+ readonly attribute [V8PerWorldBindings] Node lastChild;
+ readonly attribute [V8PerWorldBindings] Node previousSibling;
+ readonly attribute [V8PerWorldBindings] Node nextSibling;
+ readonly attribute [V8PerWorldBindings] Document ownerDocument;
- [ObjCLegacyUnnamedParameters, Custom] Node insertBefore(in [CustomReturn] Node newChild,
+ [ObjCLegacyUnnamedParameters, Custom, V8PerWorldBindings] Node insertBefore(in [CustomReturn] Node newChild,
in Node refChild)
raises(DOMException);
[ObjCLegacyUnnamedParameters, Custom] Node replaceChild(in Node newChild,
in [CustomReturn] Node oldChild)
raises(DOMException);
- [Custom] Node removeChild(in [CustomReturn] Node oldChild)
+ [Custom, V8PerWorldBindings] Node removeChild(in [CustomReturn] Node oldChild)
raises(DOMException);
- [Custom] Node appendChild(in [CustomReturn] Node newChild)
+ [Custom, V8PerWorldBindings] Node appendChild(in [CustomReturn] Node newChild)
raises(DOMException);
boolean hasChildNodes();
+ [V8DeliverCustomElementCallbacks, V8PerWorldBindings]
Node cloneNode(in [Optional=DefaultIsUndefined] boolean deep);
void normalize();
@@ -84,23 +85,23 @@
[ObjCLegacyUnnamedParameters] boolean isSupported(in [Optional=DefaultIsUndefined] DOMString feature,
in [TreatNullAs=NullString,Optional=DefaultIsUndefined] DOMString version);
- readonly attribute [TreatReturnedNullStringAs=Null] DOMString namespaceURI;
- attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] DOMString prefix
+ readonly attribute [TreatReturnedNullStringAs=Null, V8PerWorldBindings] DOMString namespaceURI;
+ attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, V8PerWorldBindings] DOMString prefix
setter raises(DOMException);
- readonly attribute [TreatReturnedNullStringAs=Null] DOMString localName;
+ readonly attribute [TreatReturnedNullStringAs=Null, V8PerWorldBindings] DOMString localName;
#if defined(LANGUAGE_OBJECTIVE_C)
- readonly attribute NamedNodeMap attributes;
+ readonly attribute [V8PerWorldBindings] NamedNodeMap attributes;
boolean hasAttributes();
#endif
// Introduced in DOM Level 3:
- readonly attribute [TreatReturnedNullStringAs=Null] DOMString baseURI;
+ readonly attribute [TreatReturnedNullStringAs=Null, V8PerWorldBindings] DOMString baseURI;
// FIXME: the spec says this can also raise on retrieval.
- attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] DOMString textContent
+ attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, V8PerWorldBindings] DOMString textContent
setter raises(DOMException);
boolean isSameNode(in [Optional=DefaultIsUndefined] Node other);
@@ -123,11 +124,11 @@
boolean contains(in [Optional=DefaultIsUndefined] Node other);
// IE extensions
- readonly attribute Element parentElement;
+ readonly attribute [V8PerWorldBindings] Element parentElement;
#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
// Objective-C extensions
- readonly attribute boolean isContentEditable;
+ readonly attribute [V8PerWorldBindings] boolean isContentEditable;
void inspect();
#endif /* defined(LANGUAGE_OBJECTIVE_C) */

Powered by Google App Engine
This is Rietveld 408576698