[Webkit-unassigned] [Bug 90694] New: Add an API to explicitly call a JavaScript function with args.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 6 10:10:50 PDT 2012


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

           Summary: Add an API to explicitly call a JavaScript function
                    with args.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit BlackBerry
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ben at meyerhome.net
                CC: tonikitoo at webkit.org



Benjamin Meyer <ben at meyerhome.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #151098|                            |review?
               Flag|                            |


Created an attachment (id=151098)
 --> (https://bugs.webkit.org/attachment.cgi?id=151098&action=review)
patch

Add an API to explicitly call a JavaScript function with args.

Currently the Blackberry port doesn't expose the JavaScript
engine to 3rd parties so they rely upon executeJavaScript
which can be slower than necessary and unsafe as eval is used.
This new API provides a way to explicitly call a specific
JavaScript function with a list of args preventing the case
where an argument comes from a untrusted source and tries to
escape the arg list to take control of the JavaScript engine.

In the future if the Blackberry port introduces a formal
way to interact with the JavaScript engine this function should
be removed.

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