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, 09 Sep 2011 18:50:08 +1000
Message-ID: <4E69D340.8080702@mcc.id.au>
To: Jonas Sicking <jonas@sicking.cc>
CC: public-script-coord@w3.org
On 26/08/11 6:21 AM, Jonas Sicking wrote:
> The 'caller' annotation in WebIDL makes an object callable. This is
> needed for legacy support at least for the document.all (non-firefox
> browsers also support it on other objects, but it's not been
> established that this is actually needed for webcompat).
> My understanding is that this convention is not implementable in Javascript.
> I think we should remove this from WebIDL as to prevent the pattern
> from spreading any further. Apparently the DAP contacts API has
> started using it, as has the microdata DOM API. So it appears that
> putting it in WebIDL has made it easier for the pattern to spread.
> Prose can always be added to the document.all object (and other
> objects too if needed) as to make them callable.

I'd like to wait to see what the results of the WebKit experiments are, 
and whether that indicates whether the non-HTMLAllCollection callers 
will be removed from the HTML spec.

For the moment, I will give Anne's suggestion a try -- I'll leave it in 
the spec, and rename it to legacycaller.


Jonas, can you indicate whether this resolution is satisfactory?


Received on Friday, 9 September 2011 08:50:47 UTC

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