RFR: 8351264: Some images don't load with WebKit 620.1

Kevin Rushforth kcr at openjdk.org
Mon Mar 17 15:38:00 UTC 2025


On Mon, 17 Mar 2025 15:15:59 GMT, Jay Bhaskar <jbhaskar at openjdk.org> wrote:

>> Issue: Some images don't load with WebKit 620.1
>> 
>> WebKit Image Decoding Failure Due to Unintended WebP Format Delivery
>> WebKit encounters image decoding failures when certain servers respond with WebP images instead of the intended JPEG or PNG format. This issue arises due to WebKit's Accept header configuration, which prioritises WebP by default. Consequently, incomplete or malformed WebP data results in decoding errors.
>> 
>> Solution:
>> Keep the image rendering features and supported formats as webkit 619.1 , and accordingly
>> update the Accept header to prioritize JPEG/PNG over WebP unless WebP decoding is confirmed stable.
>
> This fix also fixes Preview images on yahoo.com rendered incorrectly issue , have tested also

@jaybhaskar Given how localized and safe this fix is, I waive the 24-hour waiting period for this bug. That will let the backports get started sooner, since we will want to get this into the April CPU to avoid a critical regression.

Once @jperedadnr approves the PR, go ahead and integrate this fix.

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1738#issuecomment-2729978937


More information about the openjfx-dev mailing list