Bug 256852

Summary: [GPU Process] Ensure that only supported image decoders run in the WebProcess
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: ImagesAssignee: 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: 263628    
Bug Blocks:    

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.