Tests that contain the draft-watermark are under development and may be incorrectly testing a feature.


raster image of types-dom-svgstringlist-01-f.svg

Operator Script

Retrieve a 'SVGStringList' object by getting the 'requiredExtensions' attribute from a 'SVGSVGElement'. Attempt to call 'getItem', 'replaceItem', and 'removeItem' with an index larger than the number of items in the list. For each of these operations, verify there was an exception of type 'INDEX_SIZE_ERR' thrown.

Pass Criteria

Test passes if there is no red visible on the page.

Test Description

The 'getItem', 'replaceItem', and 'removeItem' operations of the 'SVGStringList' interface raise the 'INDEX_SIZE_ERR' exception when the specified index number is greater than the number of items in the list.