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

Jay Bhaskar jbhaskar at openjdk.org
Mon Mar 17 06:42:26 UTC 2025


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.

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

Commit messages:
 - 8351264: Some images don't load with WebKit 620.1

Changes: https://git.openjdk.org/jfx/pull/1738/files
  Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1738&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8351264
  Stats: 3 lines in 1 file changed: 3 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jfx/pull/1738.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1738/head:pull/1738

PR: https://git.openjdk.org/jfx/pull/1738


More information about the openjfx-dev mailing list