Chromium Code Reviews| Index: Source/core/dom/Node.idl |
| diff --git a/Source/core/dom/Node.idl b/Source/core/dom/Node.idl |
| index 0c7c5a12526e7292b6616cc639e80f8e69260cd9..d57c1b282b0789cfbda17fa5e8f83c8ce1933dc1 100644 |
| --- a/Source/core/dom/Node.idl |
| +++ b/Source/core/dom/Node.idl |
| @@ -61,12 +61,12 @@ |
| [CustomElementCallbacks=Enable] void normalize(); |
| // Introduced in DOM Level 2: |
| - boolean isSupported([Default=Undefined] optional DOMString feature, |
| - [TreatNullAs=NullString,Default=Undefined] optional DOMString version); |
| + [MeasureAs=NodeIsSupported] boolean isSupported([Default=Undefined] optional DOMString feature, |
| + [TreatNullAs=NullString,Default=Undefined] optional DOMString version); // Removed in DOM4. |
| - [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMString namespaceURI; |
| - [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBindings, SetterRaisesException] attribute DOMString prefix; |
| - [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMString localName; |
| + [TreatReturnedNullStringAs=Null, PerWorldBindings, MeasureAs=NodeNamespaceURI] readonly attribute DOMString namespaceURI; // Removed from DOM4. |
| + [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBindings, SetterRaisesException, MeasureAs=NodePrefix] attribute DOMString prefix; // Removed from DOM4. |
| + [TreatReturnedNullStringAs=Null, PerWorldBindings, MeasureAs=NodeLocalName] readonly attribute DOMString localName; // Removed from DOM4. |
|
arv (Not doing code reviews)
2013/08/13 13:47:33
This one is going to give false positives. Element
do-not-use
2013/08/13 13:54:55
Done.
|
| // Introduced in DOM Level 3: |
| [TreatReturnedNullStringAs=Null, PerWorldBindings] readonly attribute DOMString baseURI; |
| @@ -74,7 +74,7 @@ |
| // FIXME: the spec says this can also raise on retrieval. |
| [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, PerWorldBindings, SetterRaisesException, CustomElementCallbacks=Enable] attribute DOMString textContent; |
| - boolean isSameNode([Default=Undefined] optional Node other); |
| + [MeasureAs=NodeIsSameNode] boolean isSameNode([Default=Undefined] optional Node other); // Removed in DOM4. |
| boolean isEqualNode([Default=Undefined] optional Node other); |
| [TreatReturnedNullStringAs=Null] DOMString lookupPrefix([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI); |
| boolean isDefaultNamespace([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI); |