[Webkit-unassigned] [Bug 123184] New: Bindings code for enums is inefficient

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 22 16:38:52 PDT 2013


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

           Summary: Bindings code for enums is inefficient
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Bindings
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ap at webkit.org
                CC: sam at webkit.org


Bindings generator keeps enum values as strings, making hand-written code deal with those. It should probably map to C++ enums automatically.

Also, generated checks for argument values are quite inefficient, e.g.

    if (winding != "nonzero" && winding != "evenodd")
        return throwVMTypeError(exec);

-- 
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