Bug 178821 - [CG] Add an SPI to allow loading images which CG support but they are not in WebKit whitelist
Summary: [CG] Add an SPI to allow loading images which CG support but they are not in ...
Status: RESOLVED DUPLICATE of bug 190454
Alias: None
Product: WebKit
Classification: Unclassified
Component: Images (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-10-25 12:02 PDT by Said Abou-Hallawa
Modified: 2018-10-10 18:29 PDT (History)
5 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 2017-10-25 12:02:09 PDT
After <http://trac.webkit.org/changeset/215829>, WebKit supports only a whitelist of image formats. Loading an image with any other format will be cancelled and the image will be displayed as a broken image. The whitelist was chosen based on what image formats other browsers support and which image formats are standard. But some of the WebView clients use it for different purposes other than showing web pages. Those clients may want to display image with formats not in the WebKit whitelist.

To fix this issue we need to expose an SPI to those clients so they can enable any format they want as long as "CG supports these formats".
Comment 1 Said Abou-Hallawa 2017-10-25 12:04:13 PDT
<rdar://problem/32840877>
Comment 2 Said Abou-Hallawa 2018-10-10 18:29:17 PDT

*** This bug has been marked as a duplicate of bug 190454 ***