On Sep 3, 2007, at 3:00 AM, Lars T Hansen wrote:

> On 8/26/07, Garrett Smith <[EMAIL PROTECTED]> wrote:
>> Back to "caller"...
>> "caller" is on the prototype in Mozilla.

Not lately:

js> function f(){ return f.hasOwnProperty('caller')}
js> f()

This is a SpiderMonkey REPL based on code going into Firefox 3.

> Retch.  Granted the content distribution and security models of the
> web make this kind of attack much less potent, and some of the
> introspection functionality proposed for ES4 may have similar issues
> (not clear to me yet), but "caller" has a lot of problems.

That's why it was never standardized. It was a bogo-reflection from  
Netscape 2. That it's not in JScript says to me that other  
implementations can drop it. Mozilla 2 won't support it, FYI.

/be

_______________________________________________
Es4-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es4-discuss

Reply via email to