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:
Related emails:
  1. SVG/profiles/1.1F2/master changes.html,1.30,1.31 (from cvsmail@w3.org on 2009-06-08)
  2. Minutes, 25 May 2009 SVG f2f (from chris@w3.org on 2009-05-25)
  3. Agenda, Monday 25 May 2009 SVG WG telcon (from cam@mcc.id.au on 2009-05-25)
  4. 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)
  5. 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 ATOM feed


Dirk Schulze <dschulze@adobe.com>, Chair, Chris Lilley <chris@w3.org>, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 2273.html,v 1.1 2020/01/17 13:20:51 carcone Exp $