WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
117594
Refactor ObjCCallbackFunction to allow use as both a function and a constructor
https://bugs.webkit.org/show_bug.cgi?id=117594
Summary
Refactor ObjCCallbackFunction to allow use as both a function and a constructor
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
Add attachment
proposed patch, testcase, etc.
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.
Top of Page
Format For Printing
XML
Clone This Bug