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

Re: Solving the "how do I tell whether I have an HTML element?" (or image element, or whatever) problem

From: Brendan Eich <brendan@mozilla.com>
Date: Mon, 31 Dec 2012 23:08:00 -0800
Message-ID: <50E28B50.5070802@mozilla.com>
To: "public-script-coord@w3.org" <public-script-coord@w3.org>
Private reply:

Boris Zbarsky wrote:
> 1)  Hack instanceof as Gecko has in the past.  This is actually a bit 
> of a pain to implement even in Gecko, without changes to SpiderMonkey, 
> because function objects can't have the magic behavior the RHS needs 
> above in SpiderMonkey at the moment. 

What's missing? I still see Class::hasInstance in jsclass.h.

Received on Tuesday, 1 January 2013 07:08:22 UTC

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