[Webkit-unassigned] [Bug 158777] New: Add bindings generator support to add a native JS function to both a 'name' and a private '@name' slot

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 15 01:43:00 PDT 2016


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

            Bug ID: 158777
           Summary: Add bindings generator support to add a native JS
                    function to both a 'name' and a private '@name' slot
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Bindings
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: adam.bergkvist at ericsson.com
                CC: cdumez at apple.com

This functionality would be useful in a case where we, for example, want to implement a function addAll() as a JS built-in based on a native function add(). This can be done today by adding a private function @privateAdd() and implement both add() and addAll() as JS built-in functions (using @privateAdd()). If we could mark a function to be added to both the 'add' and the private '@add' slots, we could just create the addAll() JS-built-in using '@add' directly, without having to touch add() further.

-- 
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/20160615/d8b14f38/attachment.html>


More information about the webkit-unassigned mailing list