Bug 221885 - [GPU Process] Ensure that no image decoders run in the GPU Process
Summary: [GPU Process] Ensure that no image decoders run in the GPU Process
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Said Abou-Hallawa
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-02-14 21:04 PST by Said Abou-Hallawa
Modified: 2021-04-28 18:10 PDT (History)
10 users (show)

See Also:


Attachments
Patch (4.89 KB, patch)
2021-02-14 21:10 PST, Said Abou-Hallawa
no flags Details | Formatted Diff | Diff
Patch (6.25 KB, patch)
2021-02-14 23:15 PST, Said Abou-Hallawa
no flags Details | Formatted Diff | Diff
Patch (6.39 KB, patch)
2021-02-15 01:48 PST, Said Abou-Hallawa
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Said Abou-Hallawa 2021-02-14 21:04:05 PST
We need to ensure that all image decoding happens in the well-sandboxed WebContent process, and not in the GPU process.

Decoding bitmap images and images in fonts will be controlled by the ImageIO SPI: CGImageSourceSetAllowableTypes(). We will release assert if a PDF image is created in the GPU Process.
Comment 1 Said Abou-Hallawa 2021-02-14 21:10:21 PST
Created attachment 420269 [details]
Patch
Comment 2 Said Abou-Hallawa 2021-02-14 21:11:01 PST
<rdar://problem/69800747>
Comment 3 Said Abou-Hallawa 2021-02-14 23:15:26 PST
Created attachment 420271 [details]
Patch
Comment 4 Radar WebKit Bug Importer 2021-02-15 00:41:31 PST
<rdar://problem/74341122>
Comment 5 Said Abou-Hallawa 2021-02-15 01:48:45 PST
Created attachment 420284 [details]
Patch
Comment 6 EWS 2021-02-15 16:09:47 PST
Committed r272888: <https://commits.webkit.org/r272888>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 420284 [details].