RFR: 8351264: Some images don't load with WebKit 620.1
Kevin Rushforth
kcr at openjdk.org
Mon Mar 17 15:13:00 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.
@jaybhaskar My testing shows that this also fixes the problem loading preview images on the US yahoo.com page, tracked by [JDK-8349561](https://bugs.openjdk.org/browse/JDK-8349561). If this can be confirmed, then [JDK-8349561](https://bugs.openjdk.org/browse/JDK-8349561) should be closed as a duplicate of [JDK-8351264](https://bugs.openjdk.org/browse/JDK-8351264).
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1738#issuecomment-2729896693
More information about the openjfx-dev
mailing list