W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2011

Re: Removing 'caller' from WebIDL

From: Cameron McCormack <cam@mcc.id.au>
Date: Fri, 26 Aug 2011 16:36:26 +1200
Message-ID: <4E5722CA.5000709@mcc.id.au>
To: Jonas Sicking <jonas@sicking.cc>
CC: public-script-coord@w3.org
On 26/08/11 8:21 AM, Jonas Sicking wrote:
> My understanding is that this convention is not implementable in Javascript.

Perhaps a minor point, but the part that is not implementable in pure JS 
is having document.all be callable while having it also be typeof 
"object".  I haven't heard of any of the other collection objects that 
currently have callers in the spec being required to be typeof "object", 
so IF we were to decide that the pattern of callable objects in general 
was desirable (and I am not nearly convinced that it is) then we could 
define those ones to be Function objects, and leave document.all to be 
the odd one.
Received on Friday, 26 August 2011 04:37:04 UTC

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