On Dec 6, 2008, at 2:39 PM, Michael Day wrote:

Hi Peter,

I created a Mozilla ticket in response and one of my comments there
talks about the arguments.caller problem

arguments.caller is not defined by ES 3.0, right?

Not even in ES1. Same for f.caller (for some active function f). The caller hack used by folks including the TIBET team, but it should not be standardized. Stack backtracing by a reflection API is the way to go, if we can agree on such a thing (post 3.1).


I think this feature is not helpful for efficient implementations, and it would be best to deprecate it.

arguments.caller is not in Firefox -- what browsers still support it?

f.caller is still around but it's pretty broken (can't handle recursion). It's also subject to security checks that censor its value depending on who is looking at whom.

/be

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

Reply via email to