Updates:
        Labels: ES5 Type-Bug

Comment #2 on issue 1547 by [email protected]: Wrong global in cross-frame this-coercion
http://code.google.com/p/v8/issues/detail?id=1547

I.e., the problem is with calling a function where the expression does not evaluate to a Reference. The bugzilla entry is with the case where the expression evaluates to a Reference with an environment record as base. By the spec, there is no difference in how the functions are called (both are passed undefined as this-value), but the latter seems to have required fiddling for web-compatibility. In the former case, we need to pass the global object of the callee's context as this-value for non-strict non-builtin functions, instead of the calling context's global object as we do now.

We currently agree with Opera only, so we should match Webkit on this.


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to