[Webkit-unassigned] [Bug 149929] New: Restructure generate-js-bindings script to be modular and testable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 8 11:46:16 PDT 2015


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

            Bug ID: 149929
           Summary: Restructure generate-js-bindings script to be modular
                    and testable
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bburg at apple.com

I'd like to start adding regression tests for the builtins generator now that we are starting to use it in more complex ways.
However, the existing generators are difficult to test because they directly write to files instead of producing per-output file strings.

To make the situation better, I'm proposing to restructure the existing generator code, similar to the rewrite of the Inspector Protocol Generator last year.

This should not take very long, since the generators are fairly small. I will put a patch up later today or tomorrow and see what folks think about the approach.
FWIW, the inspector generator (which the restructure would be patterned upon) is very easy to maintain, and its tests have caught many codegen errors and regressions in the past year.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151008/e4e1d5d0/attachment-0001.html>


More information about the webkit-unassigned mailing list