Bug 117594

Summary: Refactor ObjCCallbackFunction to allow use as both a function and a constructor
Product: WebKit Reporter: Mark Hahnenberg <mhahnenberg>
Component: JavaScriptCoreAssignee: Mark Hahnenberg <mhahnenberg>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 117595    
Bug Blocks:    

Mark Hahnenberg
Reported 2013-06-13 08:48:50 PDT
We want ObjCCallbackFunction to support being called as both a function and a constructor. Basically this means that ObjCCallbackFunction should have the functionality of both JSCallbackFunction and JSCallbackConstructor. To avoid having to use multiple inheritance, we need to make ObjCCallbackFunction implement its own versions of getCallData and getConstructData and keep track of its own callbacks. This refactoring will be done in a series of patches. This is the tracking bug for those sub tasks.
Attachments
Mark Hahnenberg
Comment 1 2014-02-06 10:47:38 PST
Marking as fixed since ObjCCallbackFunction implements both getCallData and getConstructData now.
Note You need to log in before you can comment on or make changes to this bug.