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

> From: Boris Zbarsky [mailto:bzbarsky@MIT.EDU]
> ES6 has a new trap that allows the RHS of instanceof to return whatever
> value it wants, basically.  I'm proposing that WebIDL define this trap
> for WebIDL interface objects to return whether the LHS implements the
> given interface.

I think this sounds fine. Most web developers don't expect the current spec'd behavior, even though to me it seems more natural.

IE has the current behavior and I expect we would migrate to the new behavior at some point once it was defined and agreed upon.

Received on Thursday, 17 January 2013 22:11:04 UTC