diff options
Diffstat (limited to 'Source/WebCore/svg/SVGPathSegList.idl')
-rw-r--r-- | Source/WebCore/svg/SVGPathSegList.idl | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/Source/WebCore/svg/SVGPathSegList.idl b/Source/WebCore/svg/SVGPathSegList.idl index e6c5af53f..3a0005d1e 100644 --- a/Source/WebCore/svg/SVGPathSegList.idl +++ b/Source/WebCore/svg/SVGPathSegList.idl @@ -24,17 +24,14 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -[ - Conditional=SVG, -] interface SVGPathSegList { +interface SVGPathSegList { readonly attribute unsigned long numberOfItems; - [RaisesException] void clear(); - [StrictTypeChecking, RaisesException] SVGPathSeg initialize(SVGPathSeg newItem); - [StrictTypeChecking, RaisesException] SVGPathSeg getItem(unsigned long index); - [StrictTypeChecking, RaisesException] SVGPathSeg insertItemBefore(SVGPathSeg newItem, unsigned long index); - [StrictTypeChecking, RaisesException] SVGPathSeg replaceItem(SVGPathSeg newItem, unsigned long index); - [StrictTypeChecking, RaisesException] SVGPathSeg removeItem(unsigned long index); - [StrictTypeChecking, RaisesException] SVGPathSeg appendItem(SVGPathSeg newItem); + [MayThrowException] void clear(); + [MayThrowException] SVGPathSeg initialize(SVGPathSeg? newItem); // FIXME: Should not be nullable. + [MayThrowException] SVGPathSeg getItem(unsigned long index); + [MayThrowException] SVGPathSeg insertItemBefore(SVGPathSeg? newItem, unsigned long index); // FIXME: Should not be nullable. + [MayThrowException] SVGPathSeg replaceItem(SVGPathSeg? newItem, unsigned long index); // FIXME: Should not be nullable. + [MayThrowException] SVGPathSeg removeItem(unsigned long index); + [MayThrowException] SVGPathSeg appendItem(SVGPathSeg? newItem); // FIXME: Should not be nullable. }; - |