<?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>292041</bug_id>
          
          <creation_ts>2025-04-24 18:02:21 -0700</creation_ts>
          <short_desc>[Quirk] Allow users to upload HEIC images on zillow.com</short_desc>
          <delta_ts>2025-05-09 13:02:20 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>https://zillow.com/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>213347</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Karl Dubost">karlcow</reporter>
          <assigned_to name="Karl Dubost">karlcow</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2113016</commentid>
    <comment_count>0</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2025-04-24 18:02:21 -0700</bug_when>
    <thetext>This bug is to add a Quirk for the zillow domain so that users do not have to switch context to use the app to upload HEIC images. 


Context:

When users of the zillow websites want to upload an HEIC images, they get a message saying:

&gt; HEIC format is not supported on web. Please download the Zillow Rental Manager App to upload, or convert the files to .png, .jpg, .jpeg, or .gif to upload.

WebKit added the possibility to automatically convert the HEIC image format to one that the site accepts.
https://github.com/WebKit/WebKit/commit/1fd3fe3f407ad3cbc9fde83b03a9a0641e6d3e58

The current input on the zillow website is 

&lt;input 
    accept=&quot;image/*&quot; 
    multiple=&quot;&quot; 
    type=&quot;file&quot; 
    tabindex=&quot;-1&quot; 
     style=&quot;display: none;&quot;&gt;


To benefit from WebKit capability to auto-convert the file to the format of website choice, it is necessary to specify in the accept attribute, the accepted format, for example:

accept=&quot;image/jpeg, image/png, image/gif&quot;

Notes: 
1. the first mime-type in the list will force the conversion for HEIC images to the first format on the list. The order of mime types on accept matters.
2. It will have no effect if someone is trying to load a format already supported. So a user trying to upload a PNG will leave it as PNG.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2113017</commentid>
    <comment_count>1</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2025-04-24 18:03:59 -0700</bug_when>
    <thetext>&lt;rdar://79872092&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2114175</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2025-04-30 05:27:36 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/44741</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2116203</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-05-09 13:02:19 -0700</bug_when>
    <thetext>Committed 294726@main (ac5ea97ba273): &lt;https://commits.webkit.org/294726@main&gt;

Reviewed commits have been landed. Closing PR #44741 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>