W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2013

[Bug 22391] Sequence or Array

From: <bugzilla@jessica.w3.org>
Date: Wed, 10 Jul 2013 20:08:32 +0000
To: public-script-coord@w3.org
Message-ID: <bug-22391-3890-POYVb7WWvI@http.www.w3.org/Bugs/Public/>

Tab Atkins Jr. <jackalmage@gmail.com> changed:

           What    |Removed                     |Added
                 CC|                            |jackalmage@gmail.com

--- Comment #5 from Tab Atkins Jr. <jackalmage@gmail.com> ---
(In reply to comment #4)
> [] as currently specified can't replace NodeList and HTMLCollection because
> those have methods other than [] and .length that are used in the wild...

And live lists seem to tend to sprout new methods anyway, even if they
initially have only [] and .length.

I'm down with killing type[] in favor of just using [ArrayClass] interfaces.

> For a non-live list, a JS Array (if a new copy) or frozen JS Array (if
> shared with other consumers) seems just fine.

Is the frozen-ness something that needs to be indicated in prose?

You are receiving this mail because:
You are on the CC list for the bug.
Received on Wednesday, 10 July 2013 20:08:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:17 UTC