diff options
Diffstat (limited to 'Source/WebCore/xml/XPathResult.idl')
-rw-r--r-- | Source/WebCore/xml/XPathResult.idl | 47 |
1 files changed, 22 insertions, 25 deletions
diff --git a/Source/WebCore/xml/XPathResult.idl b/Source/WebCore/xml/XPathResult.idl index 7a844466a..9752cf687 100644 --- a/Source/WebCore/xml/XPathResult.idl +++ b/Source/WebCore/xml/XPathResult.idl @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006 Apple Computer, Inc. + * Copyright (C) 2006 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -18,33 +18,30 @@ */ [ - JSCustomMarkFunction, + ExportToWrappedFunction, ImplementationLacksVTable, + JSCustomMarkFunction, ] interface XPathResult { - const unsigned short ANY_TYPE = 0; - const unsigned short NUMBER_TYPE = 1; - const unsigned short STRING_TYPE = 2; - const unsigned short BOOLEAN_TYPE = 3; - const unsigned short UNORDERED_NODE_ITERATOR_TYPE = 4; - const unsigned short ORDERED_NODE_ITERATOR_TYPE = 5; - const unsigned short UNORDERED_NODE_SNAPSHOT_TYPE = 6; - const unsigned short ORDERED_NODE_SNAPSHOT_TYPE = 7; - const unsigned short ANY_UNORDERED_NODE_TYPE = 8; - const unsigned short FIRST_ORDERED_NODE_TYPE = 9; + const unsigned short ANY_TYPE = 0; + const unsigned short NUMBER_TYPE = 1; + const unsigned short STRING_TYPE = 2; + const unsigned short BOOLEAN_TYPE = 3; + const unsigned short UNORDERED_NODE_ITERATOR_TYPE = 4; + const unsigned short ORDERED_NODE_ITERATOR_TYPE = 5; + const unsigned short UNORDERED_NODE_SNAPSHOT_TYPE = 6; + const unsigned short ORDERED_NODE_SNAPSHOT_TYPE = 7; + const unsigned short ANY_UNORDERED_NODE_TYPE = 8; + const unsigned short FIRST_ORDERED_NODE_TYPE = 9; - readonly attribute unsigned short resultType; - [GetterRaisesException] readonly attribute double numberValue; - - [GetterRaisesException] readonly attribute DOMString stringValue; + readonly attribute unsigned short resultType; + [GetterMayThrowException] readonly attribute unrestricted double numberValue; + [GetterMayThrowException] readonly attribute DOMString stringValue; + [GetterMayThrowException] readonly attribute boolean booleanValue; + [GetterMayThrowException] readonly attribute Node singleNodeValue; - [GetterRaisesException] readonly attribute boolean booleanValue; + readonly attribute boolean invalidIteratorState; + [GetterMayThrowException] readonly attribute unsigned long snapshotLength; - [GetterRaisesException] readonly attribute Node singleNodeValue; - - readonly attribute boolean invalidIteratorState; - [GetterRaisesException] readonly attribute unsigned long snapshotLength; - - [RaisesException] Node iterateNext(); - [RaisesException] Node snapshotItem([Default=Undefined] optional unsigned long index); + [MayThrowException] Node iterateNext(); + [MayThrowException] Node snapshotItem(optional unsigned long index = 0); }; - |