Bug 130992

Summary: REGRESSION(r166415): JSObject{Get,Set}Private() don't work with proxies objects
Product: WebKit Reporter: Michael Saboff <msaboff>
Component: JavaScriptCoreAssignee: Michael Saboff <msaboff>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch mhahnenberg: review+

Description Michael Saboff 2014-03-31 16:15:57 PDT
The global object returned from JSContextGetGlobalObject() is actually wrapped by a JSProxy object.  The JSObjectGetPrivate() and JSObjectSetPrivate() don't work with the wrapped object.  The JSProxy was added in r166415 - <http://trac.webkit.org/changeset/166415>
Comment 1 Michael Saboff 2014-03-31 16:32:27 PDT
Created attachment 228219 [details]
Patch
Comment 2 Mark Hahnenberg 2014-03-31 16:34:45 PDT
Comment on attachment 228219 [details]
Patch

r=me
Comment 3 Michael Saboff 2014-03-31 18:11:07 PDT
Committed r166554: <http://trac.webkit.org/changeset/166554>