[Webkit-unassigned] [Bug 162521] New: Added RETURN_IF_EXCEPTION() macro in ExceptionScope.h

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 23 16:55:24 PDT 2016


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

            Bug ID: 162521
           Summary: Added RETURN_IF_EXCEPTION() macro in ExceptionScope.h
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Local 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

And use it in all places that currently explicitly check for exceptions and return early.

Also, as much as is possible, if the return type is JSValue, change the returned value (on exception) to the empty JSValue (instead of sometimes jsUndefined() and jsNull()).

-- 
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/20160923/ba895509/attachment.html>


More information about the webkit-unassigned mailing list