On Mar 3, 2010, at 9:08 PM, Philip Jägenstedt wrote: > On Thu, 04 Mar 2010 11:45:43 +0800, Silvia Pfeiffer <silviapfeiffer1@gmail.com > > wrote: > >> >> OK, I see the problem. I didn't consider that JavaScript converts >> sees >> no difference in [2] and ["2"]. >> >> I have no issue with removing the getter on namedItem. I don't think >> it's important. >> The other getter already does the index by number. > > I agree with removing it. The only reason it was there to begin with > was because the HTMLCollection interface was copied. The remaining > tracks.item(n) is not very useful as it is only a longer way of > writing tracks[n]. Is it really necessary to keep it for these > hypothetical non-ECMAScript languages that might implement the > interface? Yes, it's necessary to keep it. And it's not hypothetical - WebKit includes bindings to non-JavaScript languages. Regards, MaciejReceived on Thursday, 4 March 2010 06:20:25 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:55:33 UTC