Bug 34087

Summary: [Qt] Meta-methods can't be introspected using ES5 API
Product: WebKit Reporter: Kent Hansen <kent.hansen>
Component: WebKit QtAssignee: Kent Hansen <kent.hansen>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue
Priority: P2 Keywords: Qt
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Bug Depends on:    
Bug Blocks: 33947    
Attachments:
Description Flags
Proposed patch none

Kent Hansen
Reported 2010-01-25 07:36:40 PST
For example, Object.getOwnPropertyDescriptor(object.aSignal, "connect") returns undefined, but object.aSignal.hasOwnProperty("connect") returns true and object.aSignal.connect is indeed a function. Similarly, Object.getOwnPropertyNames(object.aSignal) returns an empty list, even though the signal has properties connect, disconnect, length and name.
Attachments
Proposed patch (9.26 KB, patch)
2010-01-25 07:43 PST, Kent Hansen
no flags
Kent Hansen
Comment 1 2010-01-25 07:43:10 PST
Created attachment 47346 [details] Proposed patch
Simon Hausmann
Comment 2 2010-01-26 07:51:35 PST
Comment on attachment 47346 [details] Proposed patch r=me
WebKit Commit Bot
Comment 3 2010-01-27 06:25:19 PST
Comment on attachment 47346 [details] Proposed patch Clearing flags on attachment: 47346 Committed r53930: <http://trac.webkit.org/changeset/53930>
WebKit Commit Bot
Comment 4 2010-01-27 06:25:23 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.