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

Jay Bhaskar jbhaskar at openjdk.org
Mon Mar 17 15:19:03 UTC 2025


On Mon, 17 Mar 2025 06:38:18 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

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

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


More information about the openjfx-dev mailing list