Re: Removing 'caller' from WebIDL

On Aug 31, 2011, at 10:05 PM, Cameron McCormack wrote:

> The other collections in the HTML spec still do require callers (HTMLFormControlsCollection, HTMLOptionsCollection, HTMLPropertiesCollection and HTMLFormElement).
> 
> I did raise http://www.w3.org/Bugs/Public/show_bug.cgi?id=11032 at some point about removing callers from HTMLPropertiesCollection but that ended up WONTFIX.
> 
> Ian, are you sure we need callers on anything more than document.all?

There's no "need", Hixie simply decided "for consistency with the other collections.

But Gecko has not made any other collections callable than document.all, and we don't plan ever to do any such thing. There's no interop requirement, and caller is not supportable in JS (important when proxy-wrapping and self-hosting, e.g. dom.js).

Ecma TC39ers two years ago made a clear plea to avoid propagating caller beyond what legacy web compatibility seem sto require, which is only document.all in our (Mozilla's) experience.

What can be done to remove the caller uses other than document.all from HTML's spec?

/be

Received on Thursday, 1 September 2011 06:11:53 UTC