<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>178821</bug_id>
          
          <creation_ts>2017-10-25 12:02:09 -0700</creation_ts>
          <short_desc>[CG] Add an SPI to allow loading images which CG support but they are not in WebKit whitelist</short_desc>
          <delta_ts>2018-10-10 18:29:17 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Images</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>190454</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=178758</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Said Abou-Hallawa">sabouhallawa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mitz</cc>
    
    <cc>sam</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1364365</commentid>
    <comment_count>0</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2017-10-25 12:02:09 -0700</bug_when>
    <thetext>After &lt;http://trac.webkit.org/changeset/215829&gt;, 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 &quot;CG supports these formats&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1364371</commentid>
    <comment_count>1</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2017-10-25 12:04:13 -0700</bug_when>
    <thetext>&lt;rdar://problem/32840877&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1467911</commentid>
    <comment_count>2</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2018-10-10 18:29:17 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 190454 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>