Index: core/xml/XPathResult.idl |
diff --git a/core/xml/XPathResult.idl b/core/xml/XPathResult.idl |
index f60a5eaac047722d8a0cda938a848ed6569014ba..319b719827c06c582688031fa917cd2df18133d0 100644 |
--- a/core/xml/XPathResult.idl |
+++ b/core/xml/XPathResult.idl |
@@ -17,9 +17,12 @@ |
* Boston, MA 02110-1301, USA. |
*/ |
+// http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathResult |
+ |
[ |
- WillBeGarbageCollected |
+ GarbageCollected |
] interface XPathResult { |
+ // XPathResultType |
const unsigned short ANY_TYPE = 0; |
const unsigned short NUMBER_TYPE = 1; |
const unsigned short STRING_TYPE = 2; |
@@ -43,7 +46,6 @@ |
readonly attribute boolean invalidIteratorState; |
[RaisesException=Getter] readonly attribute unsigned long snapshotLength; |
- [RaisesException] Node iterateNext(); |
- [RaisesException] Node snapshotItem([Default=Undefined] optional unsigned long index); |
+ [RaisesException] Node? iterateNext(); |
+ [RaisesException] Node? snapshotItem(unsigned long index); |
}; |
- |