I'm also in favor of removing this. This does more harm than good.

Unfortunately I found ~200 uses of this in code search.

http://www.google.com/codesearch#search/&q=%5C.isSameNode%5C(%20lang:javascript&type=cs

erik








On Thu, Sep 15, 2011 at 00:33, Anne van Kesteren <ann...@opera.com> wrote:
> On Fri, 09 Sep 2011 19:21:53 +0200, Jonas Sicking <jo...@sicking.cc> wrote:
>>
>> It's a completely useless function. It just implements the equality
>> operator. I believe most languages have a equality operator already.
>> Except Brainfuck [1]. But the DOM isn't implementable in Brainfuck
>> anyway as it doesn't have objects, so I'm ok with that.
>
> If you can get this removed from Gecko without it causing compatibility
> issues consider it gone from the specification. I'm all for less methods,
> especially useless methods.
>
>
>> [1] http://en.wikipedia.org/wiki/Brainfuck
>
>
> --
> Anne van Kesteren
> http://annevankesteren.nl/
>
>

Reply via email to