<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>117594</bug_id>
          
          <creation_ts>2013-06-13 08:48:50 -0700</creation_ts>
          <short_desc>Refactor ObjCCallbackFunction to allow use as both a function and a constructor</short_desc>
          <delta_ts>2014-02-06 10:47:38 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>117595</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mark Hahnenberg">mhahnenberg</reporter>
          <assigned_to name="Mark Hahnenberg">mhahnenberg</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>900049</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Hahnenberg">mhahnenberg</who>
    <bug_when>2013-06-13 08:48:50 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>977429</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Hahnenberg">mhahnenberg</who>
    <bug_when>2014-02-06 10:47:38 -0800</bug_when>
    <thetext>Marking as fixed since ObjCCallbackFunction implements both getCallData and getConstructData now.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>