Bug 297157
| Summary: | Throw instead of crash on OOM in some String builtins | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Shu-yu Guo <syg> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Shu-yu Guo
rdar://157756412
Where we can, as a best effort, we should throw OOMs instead of crashing when trying to construct strings that are too large.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Shu-yu Guo
Pull request: https://github.com/WebKit/WebKit/pull/49170
Shu-yu Guo
<rdar://problem/157756003>
Shu-yu Guo
Pull request: https://github.com/WebKit/WebKit/pull/49173
EWS
Committed 298458@main (e711a8e48a49): <https://commits.webkit.org/298458@main>
Reviewed commits have been landed. Closing PR #49170 and removing active labels.
EWS
Committed 298459@main (95db096dfd5b): <https://commits.webkit.org/298459@main>
Reviewed commits have been landed. Closing PR #49173 and removing active labels.