ISSUE-2273: Should negative index values raise INDEX_SIZE_ERR exceptions in insertItemBefore
insertbefore_indexerr
Should negative index values raise INDEX_SIZE_ERR exceptions in insertItemBefore
- State:
- CLOSED
- Product:
- SVG Full 1.1
- Raised by:
- Erik Dahlström
- Opened on:
- 2009-05-20
- Description:
- The SVG*List.insertItemBefore method doesn't raise an exception if the index parameter is negative, unlike the getItem and replaceItem methods.
Proposed addition (under Exceptions in the insertItemBefore method definition):
DOMException - INDEX_SIZE_ERR: Raised if the index number is negative.
This is the same for all the SVG*List types, e.g http://www.w3.org/TR/SVG11/types.html#InterfaceSVGStringList.
- Related Actions Items:
ACTION-2575 on Erik Dahlström to Remove the negative index size error exception on list interface methods and mention in changes appendix in 1.1SE - due 2009-06-01, closed- Related emails:
- SVG/profiles/1.1F2/master changes.html,1.30,1.31 (from cvsmail@w3.org on 2009-06-08)
- Minutes, 25 May 2009 SVG f2f (from chris@w3.org on 2009-05-25)
- Agenda, Monday 25 May 2009 SVG WG telcon (from cam@mcc.id.au on 2009-05-25)
- Re: ISSUE-2273 (insertbefore_indexerr): Should negative index values raise INDEX_SIZE_ERR exceptions in insertItemBefore [SVG Full 1.1] (from cam@mcc.id.au on 2009-05-21)
- ISSUE-2273 (insertbefore_indexerr): Should negative index values raise INDEX_SIZE_ERR exceptions in insertItemBefore [SVG Full 1.1] (from sysbot+tracker@w3.org on 2009-05-20)
Related notes:
No additional notes.
Display change log