Bug 22094 - For calls with missing object marker for this, callee is passed caller's lexical global object.
Summary: For calls with missing object marker for this, callee is passed caller's lexi...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Gavin Barraclough
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-05 18:55 PST by Gavin Barraclough
Modified: 2008-11-06 17:33 PST (History)
0 users

See Also:


Attachments
The patch (7.86 KB, patch)
2008-11-05 18:59 PST, Gavin Barraclough
mjs: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gavin Barraclough 2008-11-05 18:55:29 PST
This is incorrect for cross window call's, the callee should be receiving it's own lexical global object, not the caller's.
Comment 1 Gavin Barraclough 2008-11-05 18:59:54 PST
Created attachment 24932 [details]
The patch
Comment 2 Maciej Stachowiak 2008-11-05 19:20:22 PST
Comment on attachment 24932 [details]
The patch

r=me
Comment 3 Gavin Barraclough 2008-11-06 17:33:01 PST
fixed in 38148