Bug 169786
| Summary: | Make clients of JSArray::tryCreateForInitializationPrivate() throw an exception on failure instead of asserting. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mark Lam <mark.lam> |
| Component: | JavaScriptCore | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/31099169>