[Webkit-unassigned] [Bug 215358] New: Consider changing ScriptExecutable::prepareForExecution() to return a CodeBlock*.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 10 22:44:23 PDT 2020


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

            Bug ID: 215358
           Summary: Consider changing
                    ScriptExecutable::prepareForExecution() to return a
                    CodeBlock*.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mark.lam at apple.com

There's no need to return an Exception*.  The canonical way to get the Exception* is from a ThrowScope.

This non-canonical idiom of returning an Exception* here can result in bugs e.g. https://bugs.webkit.org/show_bug.cgi?id=215357.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200811/cd97d8f4/attachment.htm>


More information about the webkit-unassigned mailing list