Bug 256852 - [GPU Process] Ensure that only supported image decoders run in the WebProcess
Summary: [GPU Process] Ensure that only supported image decoders run in the WebProcess
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Images (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Said Abou-Hallawa
URL:
Keywords: InRadar
Depends on: 263628
Blocks:
  Show dependency treegraph
 
Reported: 2023-05-16 11:12 PDT by Said Abou-Hallawa
Modified: 2023-11-04 06:45 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Said Abou-Hallawa 2023-05-16 11:12:46 PDT
We need to ensure that ImageIO is allowed to decode only the (default + additional) supported image types even outside WebKit rendering code path for example displaying a bitmap image in a PDF document.

To do that, we will call CGImageSourceSetAllowableTypes() at the initialization of the WebProcess.
Comment 1 Radar WebKit Bug Importer 2023-05-16 11:13:19 PDT
<rdar://problem/109414332>
Comment 2 Said Abou-Hallawa 2023-05-16 11:17:43 PDT
Pull request: https://github.com/WebKit/WebKit/pull/13932
Comment 3 EWS 2023-09-28 15:31:59 PDT
Committed 268617@main (c9652add6ae4): <https://commits.webkit.org/268617@main>

Reviewed commits have been landed. Closing PR #13932 and removing active labels.
Comment 4 WebKit Commit Bot 2023-10-24 18:05:43 PDT
Re-opened since this is blocked by bug 263628
Comment 5 Said Abou-Hallawa 2023-11-03 17:02:30 PDT
Pull request: https://github.com/WebKit/WebKit/pull/19983
Comment 6 EWS 2023-11-04 06:45:06 PDT
Committed 270228@main (e2934b9029d0): <https://commits.webkit.org/270228@main>

Reviewed commits have been landed. Closing PR #19983 and removing active labels.