On Sun, Dec 30, 2012 at 10:12 PM, Boris Zbarsky <bzbar...@mit.edu> wrote:

> On 12/30/12 4:50 PM, Bobby Holley wrote:
>
>> It seems like we could just do (1) with very
>> little code, by just checking the JSClass.
>>
>
> Right now we can even do it simply by delegating to QI (see
> hasInstanceInterface annotations in Bindings.conf), but yes, adding code to
> check the protoid chain in the JSClass would be very simple.


Well, you mentioned that one of the costs of maintaining this behavior
would be maintaining the nsIDOMFoo interfaces right? So I'm suggesting that
we use codegen and the JSClass to short-circuit that stuff.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to