W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2012

Re: Detecting the "type" of a DOM object

From: Allen Wirfs-Brock <allen@wirfs-brock.com>
Date: Thu, 21 Jun 2012 12:03:46 -0700
Cc: David Bruant <bruant.d@gmail.com>, public-script-coord@w3.org
Message-Id: <69701C50-7195-4AC7-AD08-A0BEEA920449@wirfs-brock.com>
To: Boris Zbarsky <bzbarsky@mit.edu>

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.

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

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