Re: Removing 'caller' from WebIDL

On Sep 1, 2011, at 9:50 AM, Brendan Eich wrote:

> On Sep 1, 2011, at 12:49 AM, Anne van Kesteren wrote:
> 
>> On Thu, 01 Sep 2011 08:11:09 +0200, Brendan Eich <brendan@mozilla.org> wrote:
>>> What can be done to remove the caller uses other than document.all from HTML's spec?
>> 
>> The simplest approach is having nobody implement it / remove support for it. The specification is there to reflect reality and vice versa.
> 
> Will Opera remove caller from its collections other than document.all?
> 
> If I recall correctly, Oliver has been in on the discussions about deprecating caller in the past. Cc'ing him to check on odds of WebKit removing caller from the non-.all collections.

Hi Sam, this thread is about removing caller from WebKit's HTML collections other than document.all.

Gecko doesn't support calling any collections other than document.all. We don't see interop problems. But they could exist. Would you be willing to try removing caller in nightlies and see how that goes? That might start the ball rolling.

Right now we have a circular reasoning (if you can call it reasoning) situation where the HTML spec uses caller for collections that are not callable in Gecko, and when I asked for the spec to remove caller from these collections' IDL, Anne and Hixie suggested that the browsers that *do* support caller should drop it first. I then asked Anne if Opera would -- no answer yet -- and Oliver suggested I try you. I hope with your help, we can end this Mexican stand-off.

My opinion is that the spec should drop caller anyway, since Gecko does not implement it and I know of no content that detects or version-sniffs to use callable collections in non-IE branches of JS control flow. But what do I know?

/be

Received on Sunday, 4 September 2011 20:53:13 UTC