Re: Relaxing SVGList* item object equality in Blink/Chromium

Thanks for pointing it out.

Actually, indexed getters on SVG*List are not supported yet in the
current Blink implementation, but the refactoring plan is to have
"list[0] !== list[0]", as it falls back to implementation of
getItem().

2013/12/12 Boris Zbarsky <bzbarsky@mit.edu>:
> On 12/11/13 11:16 PM, Robert O'Callahan wrote:
>>
>> On Thu, Dec 12, 2013 at 4:45 PM, Kouhei Ueno <kouhei@google.com
>>     Would your opinion be different for "list.getItem(0) !==
>>     list.getItem(0)"?
>>
>> I think that's still bad, but maybe less bad.
>
>
> Given that list.getItem(0) is defined to return the same thing as list[0] as
> long as list.length >= 1 for the lists in question, what do you plan to have
> happen for list[0] === list[0]?
>
> -Boris
>
>



-- 
Kouhei Ueno

Received on Thursday, 12 December 2013 08:20:20 UTC