Bug 281871
| Summary: | Don't crash when UTF-8 conversion of filename fails | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | daniel_liu4 |
| 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 | ||
daniel_liu4
Currently, `fetchScriptFromLocalFileSystem` expects UTF-8 conversion to work, and will trip a RELEASE_ASSERT when this fails. Let's clean this path up so that it fails gracefully.
rdar://138178550
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
daniel_liu4
Pull request: https://github.com/WebKit/WebKit/pull/35538
EWS
Committed 285721@main (a46b2777b0cb): <https://commits.webkit.org/285721@main>
Reviewed commits have been landed. Closing PR #35538 and removing active labels.