[Webkit-unassigned] [Bug 169786] New: Make clients of JSArray::tryCreateForInitializationPrivate() throw an exception on failure instead of asserting.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 16 14:37:11 PDT 2017


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

            Bug ID: 169786
           Summary: Make clients of
                    JSArray::tryCreateForInitializationPrivate() throw an
                    exception on failure instead of asserting.
    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

Currently, some clients of JSArray::tryCreateForInitializationPrivate() simply do a RELEASE_ASSERT that it succeeds.  It would be nicer if we can throw an OutOfMemoryError instead on failure.

-- 
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/20170316/5c48825e/attachment.html>


More information about the webkit-unassigned mailing list