W3C home > Mailing lists > Public > public-webapi@w3.org > March 2008

Re: [Bindings] What does typeof return for interface objects?

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 18 Mar 2008 23:37:37 +0000 (UTC)
To: Cameron McCormack <cam@mcc.id.au>
Cc: "Web APIs WG (public)" <public-webapi@w3.org>
Message-ID: <Pine.LNX.4.62.0803182336390.30145@hixie.dreamhostps.com>
On Wed, 19 Mar 2008, Cameron McCormack wrote:
> Do you think the spec should explicitly say that [[Call]] must not be 
> implemented?  IMO there isn’t much gain from doing that.

Having a predictable result from "typeof" would be a useful gain, if only 
to stop pages depending on the arbitrary behaviour of their author's 
favourite browser, and thus failing on browsers that arbitrarily picked a 
different behaviour.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 18 March 2008 23:38:17 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:25 UTC