Follow-up from the last comment in bug 607854 comment 7. For consistency with the other list classes, we should add a 'length' property to DOMSVGStringList to mirror the 'numberOfItems' property.
Created attachment 592131 [details] [diff] [review]
Comment on attachment 592131 [details] [diff] [review]
Just one thing -- fix end-of-line whitespace after "GetNumberOfItems(aLength);" here:
>+ return GetNumberOfItems(aLength);
r=me with that
I've documented this here, flagged as non-standard, since it's not in the spec.
Also mentioned on Firefox 12 for developers.
I added a note on https://developer.mozilla.org/en/Firefox_12_for_developers
I assumed that SVGStringList is also indexable as an Array. Am I right?
(In reply to Jeremie Patonnier from comment #5)
> I assumed that SVGStringList is also indexable as an Array. Am I right?
Sorry for the noise, Array style indexing is bug #722071