Index: core/dom/NodeIterator.idl |
diff --git a/core/dom/NodeIterator.idl b/core/dom/NodeIterator.idl |
index c47c8094063d2dc2553922bbb90d7155b9e44224..ef46701e401596b01eb7ccfdabf38017fe82c1a0 100644 |
--- a/core/dom/NodeIterator.idl |
+++ b/core/dom/NodeIterator.idl |
@@ -18,19 +18,19 @@ |
* Boston, MA 02110-1301, USA. |
*/ |
-// Introduced in DOM Level 2: |
+// Introduced in DOM Level 2 |
[ |
- SetWrapperReferenceTo(NodeFilter filter) |
+ SetWrapperReferenceTo(NodeFilter filter), |
+ WillBeGarbageCollected, |
] interface NodeIterator { |
readonly attribute Node root; |
readonly attribute unsigned long whatToShow; |
readonly attribute NodeFilter filter; |
- readonly attribute boolean expandEntityReferences; |
+ [DeprecateAs=NodeIteratorExpandEntityReferences] readonly attribute boolean expandEntityReferences; |
readonly attribute Node referenceNode; |
readonly attribute boolean pointerBeforeReferenceNode; |
- [CallWith=ScriptState, RaisesException] Node nextNode(); |
- [CallWith=ScriptState, RaisesException] Node previousNode(); |
- void detach(); |
+ [RaisesException] Node nextNode(); |
+ [RaisesException] Node previousNode(); |
+ [DeprecateAs=NodeIteratorDetach] void detach(); |
}; |
- |