Bug 169786

Summary: Make clients of JSArray::tryCreateForInitializationPrivate() throw an exception on failure instead of asserting.
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: JavaScriptCoreAssignee: Mark Lam <mark.lam>
Status: ASSIGNED    
Severity: Normal CC: fpizlo, jfbastien, keith_miller, msaboff, saam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=260559

Mark Lam
Reported 2017-03-16 14:37:11 PDT
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.
Attachments
Radar WebKit Bug Importer
Comment 1 2017-03-16 14:37:53 PDT
Note You need to log in before you can comment on or make changes to this bug.