arguments.callee in Harmony
wycats at gmail.com
Thu Sep 24 18:00:05 PDT 2009
Thanks for the pointer. It seems like the argument against it is security:
if I pass you my arguments object, you now have access to the original
function, which violates the POLA.
Isn't the fact (pointed out by Allen in the original thread) that
arguments.callee can be deleted a mitigating factor here?
Aren't there other fixes that would work as well (such as making
arguments.callee only available lexically) without completely removing the
On a related topic, would you mind pointing me at the thread where the
removal of with() was discussed?
On Thu, Sep 24, 2009 at 5:51 PM, Breton Slivka <zen at zenpsycho.com> wrote:
> On Fri, Sep 25, 2009 at 10:49 AM, Breton Slivka <zen at zenpsycho.com> wrote:
> > x
> > On Fri, Sep 25, 2009 at 9:31 AM, Yehuda Katz <wycats at gmail.com> wrote:
> >> What I'd like to know is what the rationale for removing
> >> from strict mode is. Is it a performance problem? If so, have
> >> tried other solutions at compile-time before agitating for the removal
> of a
> >> language feature?
> >> The argument that this is simply a strict mode change falls flat when
> >> also told that Harmony will be built on ES5 strict mode. As far as I'm
> >> concerned, anything missing in strict mode is effectively being removed
> >> the language.
> >> -- Yehuda
> > https://mail.mozilla.org/pipermail/es-discuss/2009-March/008970.html
> Apologies with the curt message. I seem to have suddenly lost my
> ability to operate my computer competantly.
> I meant to say, that the rational has been discussed at length in the
> past. Here's the link to the mailing list thread about it:
Developer | Engine Yard
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss