Bug 178821
Summary: | [CG] Add an SPI to allow loading images which CG support but they are not in WebKit whitelist | ||
---|---|---|---|
Product: | WebKit | Reporter: | Said Abou-Hallawa <sabouhallawa> |
Component: | Images | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | mitz, sam, simon.fraser, thorton, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=178758 |
Said Abou-Hallawa
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".
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Said Abou-Hallawa
<rdar://problem/32840877>
Said Abou-Hallawa
*** This bug has been marked as a duplicate of bug 190454 ***