[v8-dev] Issue 1365 in v8: Calling functions through variables doesn't use undefined as receiver.

2011-05-04 Thread codesite-noreply
Status: Accepted Owner: Labels: Type-Bug Priority-Medium ES5 New issue 1365 by lasserei...@gmail.com: Calling functions through variables doesn't use undefined as receiver. http://code.google.com/p/v8/issues/detail?id=1365 When you call a function through an environment variable, e.g.

Re: [v8-dev] Issue 1365 in v8: Calling functions through variables doesn't use undefined as receiver.

2011-05-05 Thread Lasse R.H. Nielsen
It turns out Safari uses the context of the callee to decide which global object to use as receiver, so cross-context calls will use the called function's context's global object. This would allow us to implement this by passing undefined and moving the conversion into the start of non-strict non-