Updates:
Status: Accepted
Comment #7 on issue 981 by [email protected]: Primordial privilege
escalation from bad this-coercion
http://code.google.com/p/v8/issues/detail?id=981
I concur. After writing this I reread the specification and finally
understood that the algorithms specified for built-in functions are the
actual [[Call]] and/or [[Construct]] methods of the function objects.
I'm a little wary at changing the behavior for a non-strict call, though,
without first checking if it's used in the wild. It probably isn't (you
rarely want the global object as "this").
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev