Bug 280990
Summary: | RELEASE_ASSERT that ImageIO could install all the supported image decoders | ||
---|---|---|---|
Product: | WebKit | Reporter: | Said Abou-Hallawa <sabouhallawa> |
Component: | Images | Assignee: | Said Abou-Hallawa <sabouhallawa> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | commit-queue, sabouhallawa, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | 281354 | ||
Bug Blocks: |
Said Abou-Hallawa
setImageSourceAllowableTypes() needs to check the return value of CGImageSourceSetAllowableTypes().
If CGImageSourceSetAllowableTypes() could not install all the supported image decoders for any reason, we should halt the process launch and fail its creation safely.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Said Abou-Hallawa
rdar://135375243
Said Abou-Hallawa
Pull request: https://github.com/WebKit/WebKit/pull/34813
EWS
Committed 284850@main (71298373ddac): <https://commits.webkit.org/284850@main>
Reviewed commits have been landed. Closing PR #34813 and removing active labels.
WebKit Commit Bot
Re-opened since this is blocked by bug 281354
Said Abou-Hallawa
Pull request: https://github.com/WebKit/WebKit/pull/39740
EWS
Committed 289593@main (97223465600a): <https://commits.webkit.org/289593@main>
Reviewed commits have been landed. Closing PR #39740 and removing active labels.