[Webkit-unassigned] [Bug 69074] New: Refactor IDL attributes about constructor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 29 01:53:54 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=69074

           Summary: Refactor IDL attributes about constructor
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: haraken at chromium.org
                CC: ap at webkit.org, sam at webkit.org, japhet at chromium.org,
                    dominicc at chromium.org


Current situation:

- [CustomConstructFunction] means that there is a custom constructor for JSC.
- [V8CustomConstructor] means that there is a custom constructor for V8.
- [CustomConstructor] exists in CodeGenerator*.pm but is not used in any IDL files. I don't figure out what [CustomConstructor] means. As far as I see CodeGeneratorV8.pm, [CustomConstructor] works equivalent to [V8CustomConstructor]. On the other hand, as far as I see CodeGeneratorJS.pm, [CustomConstructor] works equivalent to [OmitConstructor]. Anyway, no IDL files are using [CustomConstructor].
- For almost all IDL files, [CustomConstructFunction] and [V8CustomConstructor] are used at the same time.
- ObjC, CPP and GObject bindings do not support custom constructors.

I am planning to refactor the above situation as follows:

- Remove [CustomConstructFunction] and add [JSCustomConstructor].
- [JSCustomConstructor] means that there is a custom constructor for JSC.
- [V8CustomConstructor] means that there is a custom constructor for V8.
- [CustomConstructor] means that there is a custom constructor for both JSC and V8.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list