Re: Detecting the "type" of a DOM object

On Jun 21, 2012, at 11:44 AM, Boris Zbarsky wrote:

> On 6/21/12 2:38 PM, Allen Wirfs-Brock wrote:
>> So, what FF is doing for instanceof has always been legal.
> 
> WebIDL requires interface objects to be native function objects, not host objects, fwiw.

Ah, well that's a minor inconsistency that probably could be fixed without any real impact. Although, like I said in another message,  I think unique instanceof behavior for Web API objects is a really bad idea.

Allen

Received on Thursday, 21 June 2012 19:04:21 UTC