Skip to content

Disable Nightly check for JPEG XL support#2936

Merged
MrAlex94 merged 1 commit intoBrowserWorks:currentfrom
louie-github:fix-jxl
Jan 11, 2023
Merged

Disable Nightly check for JPEG XL support#2936
MrAlex94 merged 1 commit intoBrowserWorks:currentfrom
louie-github:fix-jxl

Conversation

@louie-github
Copy link
Copy Markdown
Contributor

@louie-github louie-github commented Dec 21, 2022

As mentioned in #2924, 4e1dca7 does not actually affect anything, because JPEG XL support is disabled in anything but Nightly builds.

Weirdly, the image.jxl.enabled config option is already set to true by default in 000-waterfox.js. This means that all Waterfox releases have broken JPEG XL support, since Firefox (and therefore Waterfox) sends the Accept: image/jxl header even if the JXL decoding support is not actually built and present.

This leads to issues such as missing pictures on Shopify-powered sites:

As a heads up, enabling JPEG XL support seems to break various websites in G5.1.1, for example MagicHolz. With enabled JPEG XL support (image.jxl.enabled set to true) various images on the website do not load anymore.

This should fix it by actually enabling JPEG XL support out-of-the box in all builds by removing the Nightly check.

Additionally, this test page by Jon Sneyers may prove useful: https://jpegxl.info/test-page/

@MrAlex94 MrAlex94 merged commit 91c7e39 into BrowserWorks:current Jan 11, 2023
@MrAlex94
Copy link
Copy Markdown
Collaborator

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants