On Tue, May 21, 2013 at 1:18 PM, Mike Stay <[email protected]> wrote:
> https://bugzilla.mozilla.org/show_bug.cgi?id=658266 This looks like correct behavior: In getGreeting(), the method property is fetched through the proxy and then applied by the calling code, so it sees the 'this' the caller knows (p). In get greeting(), the proxy handler does "return this.target[name]", which is an ordinary property lookup on target, and so the getter's this === this.target. This is indeed something forwarding proxy handlers need to worry about when implementing a "get" trap, but it's not an implementation bug. -- --- You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
