Reland "Add JXL image decoder using jxl-rs" [chromium/src : main]

0 views
Skip to first unread message

Helmut Januschka (Gerrit)

unread,
Jan 9, 2026, 3:57:07 AM (4 days ago) Jan 9
to Chromium LUCI CQ, Wan-Teh Chang, David Bokan, AyeAye, Blink W3C Test Autoroller, chromium...@chromium.org, Moritz Firsching, Luca Versari, Helmut Januschka
Attention needed from David Bokan and Wan-Teh Chang

Helmut Januschka has uploaded the change for review

Helmut Januschka would like Chromium LUCI CQ, Wan-Teh Chang and David Bokan to review this change.

Commit message

Reland "Add JXL image decoder using jxl-rs"

This is a reland of commit 3badff27281339878293e935a5e0fbb41da553bf

Original change's description:
> Add JXL image decoder using jxl-rs
>
> Adds JXLImageDecoder that uses the jxl-rs Decoder. Includes tests and
> fuzzer.
>
> Bug: 462919304
> Change-Id: I90047f35f214eb2d8eeca3054a5ac601a5d9738f
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7319379
> Reviewed-by: David Bokan <bo...@chromium.org>
> Commit-Queue: Helmut Januschka <hel...@januschka.com>
> Reviewed-by: Wan-Teh Chang <w...@google.com>
> Cr-Commit-Position: refs/heads/main@{#1566591}
Bug: 462919304
Change-Id: Ib31b799f8364d2af6e39cc1240db630b1d6111f4

Change diff


Change information

Files:
  • M third_party/blink/renderer/platform/BUILD.gn
  • M third_party/blink/renderer/platform/blink_platform_unittests_bundle_data.filelist
  • M third_party/blink/renderer/platform/image-decoders/BUILD.gn
  • M third_party/blink/renderer/platform/image-decoders/image_decoder_fuzzer_utils.cc
  • M third_party/blink/renderer/platform/image-decoders/image_decoder_fuzzer_utils.h
  • A third_party/blink/renderer/platform/image-decoders/jxl/OWNERS
  • A third_party/blink/renderer/platform/image-decoders/jxl/jxl_image_decoder.cc
  • A third_party/blink/renderer/platform/image-decoders/jxl/jxl_image_decoder.h
  • A third_party/blink/renderer/platform/image-decoders/jxl/jxl_image_decoder_fuzzer.cc
  • A third_party/blink/renderer/platform/image-decoders/jxl/jxl_image_decoder_test.cc
  • A third_party/blink/web_tests/external/wpt/jpegxl/resources/5_frames_numbered.jxl
  • A third_party/blink/web_tests/images/resources/newtons_cradle.jxl
  • A third_party/blink/web_tests/images/resources/zoltan.jxl
  • A third_party/rust/jxl/v0_2/wrapper/BUILD.gn
  • A third_party/rust/jxl/v0_2/wrapper/lib.rs
Change size: XL
Delta: 15 files changed, 1979 insertions(+), 0 deletions(-)
Open in Gerrit

Related details

Attention is currently required from:
  • David Bokan
  • Wan-Teh Chang
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: newchange
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ib31b799f8364d2af6e39cc1240db630b1d6111f4
Gerrit-Change-Number: 7415206
Gerrit-PatchSet: 1
Gerrit-Owner: Helmut Januschka <hel...@januschka.com>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: David Bokan <bo...@chromium.org>
Gerrit-Reviewer: Wan-Teh Chang <w...@google.com>
Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
Gerrit-CC: Luca Versari <vel...@google.com>
Gerrit-CC: Moritz Firsching <firs...@google.com>
Gerrit-Attention: Wan-Teh Chang <w...@google.com>
Gerrit-Attention: David Bokan <bo...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

David Bokan (Gerrit)

unread,
Jan 9, 2026, 10:27:27 AM (4 days ago) Jan 9
to Helmut Januschka, Chromium LUCI CQ, Wan-Teh Chang, AyeAye, Blink W3C Test Autoroller, chromium...@chromium.org, Moritz Firsching, Luca Versari, blink-revie...@chromium.org, kinuko+...@chromium.org, fuzzin...@chromium.org, cblume+im...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, mbarowsky+watc...@chromium.org
Attention needed from Helmut Januschka and Wan-Teh Chang

David Bokan voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Helmut Januschka
  • Wan-Teh Chang
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ib31b799f8364d2af6e39cc1240db630b1d6111f4
    Gerrit-Change-Number: 7415206
    Gerrit-PatchSet: 4
    Gerrit-Owner: Helmut Januschka <hel...@januschka.com>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: David Bokan <bo...@chromium.org>
    Gerrit-Reviewer: Helmut Januschka <hel...@januschka.com>
    Gerrit-Reviewer: Wan-Teh Chang <w...@google.com>
    Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
    Gerrit-CC: Luca Versari <vel...@google.com>
    Gerrit-CC: Moritz Firsching <firs...@google.com>
    Gerrit-Attention: Helmut Januschka <hel...@januschka.com>
    Gerrit-Attention: Wan-Teh Chang <w...@google.com>
    Gerrit-Comment-Date: Fri, 09 Jan 2026 15:27:18 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Helmut Januschka (Gerrit)

    unread,
    Jan 9, 2026, 10:33:48 AM (4 days ago) Jan 9
    to Helmut Januschka, David Bokan, Chromium LUCI CQ, Wan-Teh Chang, AyeAye, Blink W3C Test Autoroller, chromium...@chromium.org, Moritz Firsching, Luca Versari, blink-revie...@chromium.org, kinuko+...@chromium.org, fuzzin...@chromium.org, cblume+im...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, mbarowsky+watc...@chromium.org
    Attention needed from Wan-Teh Chang

    Helmut Januschka added 1 comment

    File third_party/rust/jxl/v0_2/wrapper/lib.rs
    Line 226, Patchset 6 (Latest): if let Some(icc) = profile.try_as_icc() {
    Helmut Januschka . resolved

    fixes the fuzzer

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Wan-Teh Chang
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ib31b799f8364d2af6e39cc1240db630b1d6111f4
    Gerrit-Change-Number: 7415206
    Gerrit-PatchSet: 6
    Gerrit-Owner: Helmut Januschka <hel...@januschka.com>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: David Bokan <bo...@chromium.org>
    Gerrit-Reviewer: Helmut Januschka <hel...@januschka.com>
    Gerrit-Reviewer: Wan-Teh Chang <w...@google.com>
    Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
    Gerrit-CC: Luca Versari <vel...@google.com>
    Gerrit-CC: Moritz Firsching <firs...@google.com>
    Gerrit-Attention: Wan-Teh Chang <w...@google.com>
    Gerrit-Comment-Date: Fri, 09 Jan 2026 15:33:31 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Wan-Teh Chang (Gerrit)

    unread,
    Jan 9, 2026, 10:57:25 AM (4 days ago) Jan 9
    to Helmut Januschka, Luca Versari, David Bokan, Chromium LUCI CQ, Wan-Teh Chang, AyeAye, Blink W3C Test Autoroller, chromium...@chromium.org, Moritz Firsching, blink-revie...@chromium.org, kinuko+...@chromium.org, fuzzin...@chromium.org, cblume+im...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, mbarowsky+watc...@chromium.org
    Attention needed from Helmut Januschka, Luca Versari and Moritz Firsching

    Wan-Teh Chang added 1 comment

    File third_party/rust/jxl/v0_2/wrapper/lib.rs
    Line 226, Patchset 6 (Latest): if let Some(icc) = profile.try_as_icc() {
    Helmut Januschka . resolved

    fixes the fuzzer

    Wan-Teh Chang

    Helmut: Is patchset 1 the same as the reverted code?

    Luca, Moritz: Could you review the changes to third_party/rust/jxl/v0_2/wrapper/lib.rs?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Helmut Januschka
    • Luca Versari
    • Moritz Firsching
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ib31b799f8364d2af6e39cc1240db630b1d6111f4
    Gerrit-Change-Number: 7415206
    Gerrit-PatchSet: 6
    Gerrit-Owner: Helmut Januschka <hel...@januschka.com>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: David Bokan <bo...@chromium.org>
    Gerrit-Reviewer: Helmut Januschka <hel...@januschka.com>
    Gerrit-Reviewer: Luca Versari <vel...@google.com>
    Gerrit-Reviewer: Wan-Teh Chang <w...@google.com>
    Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
    Gerrit-CC: Moritz Firsching <firs...@google.com>
    Gerrit-Attention: Helmut Januschka <hel...@januschka.com>
    Gerrit-Attention: Moritz Firsching <firs...@google.com>
    Gerrit-Attention: Luca Versari <vel...@google.com>
    Gerrit-Comment-Date: Fri, 09 Jan 2026 15:57:13 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Helmut Januschka <hel...@januschka.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Moritz Firsching (Gerrit)

    unread,
    Jan 9, 2026, 12:18:13 PM (4 days ago) Jan 9
    to Helmut Januschka, Luca Versari, David Bokan, Chromium LUCI CQ, Wan-Teh Chang, AyeAye, Blink W3C Test Autoroller, chromium...@chromium.org, blink-revie...@chromium.org, kinuko+...@chromium.org, fuzzin...@chromium.org, cblume+im...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, mbarowsky+watc...@chromium.org
    Attention needed from Helmut Januschka and Luca Versari

    Moritz Firsching added 1 comment

    Patchset-level comments
    File-level comment, Patchset 6 (Latest):
    Moritz Firsching . resolved

    LGTM

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Helmut Januschka
    • Luca Versari
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ib31b799f8364d2af6e39cc1240db630b1d6111f4
    Gerrit-Change-Number: 7415206
    Gerrit-PatchSet: 6
    Gerrit-Owner: Helmut Januschka <hel...@januschka.com>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: David Bokan <bo...@chromium.org>
    Gerrit-Reviewer: Helmut Januschka <hel...@januschka.com>
    Gerrit-Reviewer: Luca Versari <vel...@google.com>
    Gerrit-Reviewer: Wan-Teh Chang <w...@google.com>
    Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
    Gerrit-CC: Moritz Firsching <firs...@google.com>
    Gerrit-Attention: Helmut Januschka <hel...@januschka.com>
    Gerrit-Attention: Luca Versari <vel...@google.com>
    Gerrit-Comment-Date: Fri, 09 Jan 2026 17:17:53 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Wan-Teh Chang (Gerrit)

    unread,
    Jan 9, 2026, 2:06:09 PM (4 days ago) Jan 9
    to Helmut Januschka, Wan-Teh Chang, Luca Versari, David Bokan, Chromium LUCI CQ, AyeAye, Blink W3C Test Autoroller, chromium...@chromium.org, Moritz Firsching, blink-revie...@chromium.org, kinuko+...@chromium.org, fuzzin...@chromium.org, cblume+im...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, mbarowsky+watc...@chromium.org
    Attention needed from Helmut Januschka and Luca Versari

    Wan-Teh Chang voted and added 3 comments

    Votes added by Wan-Teh Chang

    Code-Review+1

    3 comments

    File third_party/blink/renderer/platform/blink_platform_unittests_bundle_data.filelist
    Line 149, Patchset 6 (Latest):../../web_tests/external/wpt/jpegxl/resources/5_frames_numbered.jxl
    Wan-Teh Chang . unresolved

    Just curious: Why do we need to list these six files here?

    This CL only adds the sixth file (5_frames_numbered.jxl). The first five files already exist, right?

    File third_party/blink/renderer/platform/blink_platform_unittests_bundle_data.globlist
    Line 21, Patchset 6 (Latest):../../web_tests/external/wpt/jpegxl/resources/*.jxl
    Wan-Teh Chang . unresolved

    Just curious: Does this line go with the six new lines in blink_platform_unittests_bundle_data.filelist?

    File third_party/rust/jxl/v0_2/wrapper/lib.rs
    Line 293, Patchset 6 (Latest): Some(d) if d.is_finite() && d >= 0.0 => d as u32,
    Wan-Teh Chang . unresolved

    I am not familiar with Rust. It seems that the code here will hide errors. Should we report an error if `d` is infinite or negative?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Helmut Januschka
    • Luca Versari
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ib31b799f8364d2af6e39cc1240db630b1d6111f4
    Gerrit-Change-Number: 7415206
    Gerrit-PatchSet: 6
    Gerrit-Owner: Helmut Januschka <hel...@januschka.com>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: David Bokan <bo...@chromium.org>
    Gerrit-Reviewer: Helmut Januschka <hel...@januschka.com>
    Gerrit-Reviewer: Luca Versari <vel...@google.com>
    Gerrit-Reviewer: Wan-Teh Chang <w...@google.com>
    Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
    Gerrit-CC: Moritz Firsching <firs...@google.com>
    Gerrit-Attention: Helmut Januschka <hel...@januschka.com>
    Gerrit-Attention: Luca Versari <vel...@google.com>
    Gerrit-Comment-Date: Fri, 09 Jan 2026 19:05:53 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Wan-Teh Chang (Gerrit)

    unread,
    Jan 9, 2026, 2:07:42 PM (4 days ago) Jan 9
    to Helmut Januschka, Wan-Teh Chang, Luca Versari, David Bokan, Chromium LUCI CQ, AyeAye, Blink W3C Test Autoroller, chromium...@chromium.org, Moritz Firsching, blink-revie...@chromium.org, kinuko+...@chromium.org, fuzzin...@chromium.org, cblume+im...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, mbarowsky+watc...@chromium.org
    Attention needed from Helmut Januschka and Luca Versari

    Wan-Teh Chang added 1 comment

    File third_party/rust/jxl/v0_2/wrapper/lib.rs
    Line 226, Patchset 6 (Latest): if let Some(icc) = profile.try_as_icc() {
    Helmut Januschka . resolved

    fixes the fuzzer

    Wan-Teh Chang

    Helmut: Is patchset 1 the same as the reverted code?

    Luca, Moritz: Could you review the changes to third_party/rust/jxl/v0_2/wrapper/lib.rs?

    Wan-Teh Chang

    Helmut: Is patchset 1 the same as the reverted code?

    I am answering my question. I verified patchset 1 is the same as the reverted code.

    Gerrit-Comment-Date: Fri, 09 Jan 2026 19:07:29 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Helmut Januschka <hel...@januschka.com>
    Comment-In-Reply-To: Wan-Teh Chang <w...@google.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Helmut Januschka (Gerrit)

    unread,
    Jan 9, 2026, 3:32:30 PM (4 days ago) Jan 9
    to Helmut Januschka, Dominic Battre, Wan-Teh Chang, Luca Versari, David Bokan, Chromium LUCI CQ, AyeAye, Blink W3C Test Autoroller, chromium...@chromium.org, Moritz Firsching, blink-revie...@chromium.org, kinuko+...@chromium.org, fuzzin...@chromium.org, cblume+im...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, mbarowsky+watc...@chromium.org
    Attention needed from Luca Versari

    Helmut Januschka added 4 comments

    Patchset-level comments
    File-level comment, Patchset 7 (Latest):
    Helmut Januschka . resolved

    feedback addressed! hope it sticks this time, sorry for the inconvenience and thanks for all your support!

    File third_party/blink/renderer/platform/blink_platform_unittests_bundle_data.filelist
    Line 149, Patchset 6:../../web_tests/external/wpt/jpegxl/resources/5_frames_numbered.jxl
    Wan-Teh Chang . resolved

    Just curious: Why do we need to list these six files here?

    This CL only adds the sixth file (5_frames_numbered.jxl). The first five files already exist, right?

    Helmut Januschka

    yes they exist, but somehow missed, it was mentioned here by @bat...@chromium.org https://issues.chromium.org/issues/462919304#comment16

    File third_party/blink/renderer/platform/blink_platform_unittests_bundle_data.globlist
    Line 21, Patchset 6:../../web_tests/external/wpt/jpegxl/resources/*.jxl
    Wan-Teh Chang . resolved

    Just curious: Does this line go with the six new lines in blink_platform_unittests_bundle_data.filelist?

    Helmut Januschka

    same, from the CL that was mentioned to do with the reland

    File third_party/rust/jxl/v0_2/wrapper/lib.rs
    Line 293, Patchset 6: Some(d) if d.is_finite() && d >= 0.0 => d as u32,
    Wan-Teh Chang . resolved

    I am not familiar with Rust. It seems that the code here will hide errors. Should we report an error if `d` is infinite or negative?

    Helmut Januschka

    The current behavior defaults invalid durations (infinite, negative, or None) to 0ms, which is a valid duration meaning "display as fast as possible." This follows the principle of graceful degradation. if we error/reject decoding it might be stricter but may reject otherwise viewable files.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Luca Versari
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: Ib31b799f8364d2af6e39cc1240db630b1d6111f4
      Gerrit-Change-Number: 7415206
      Gerrit-PatchSet: 7
      Gerrit-Owner: Helmut Januschka <hel...@januschka.com>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: David Bokan <bo...@chromium.org>
      Gerrit-Reviewer: Helmut Januschka <hel...@januschka.com>
      Gerrit-Reviewer: Luca Versari <vel...@google.com>
      Gerrit-Reviewer: Wan-Teh Chang <w...@google.com>
      Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
      Gerrit-CC: Dominic Battre <bat...@chromium.org>
      Gerrit-CC: Moritz Firsching <firs...@google.com>
      Gerrit-Attention: Luca Versari <vel...@google.com>
      Gerrit-Comment-Date: Fri, 09 Jan 2026 20:32:09 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Wan-Teh Chang <w...@google.com>
      satisfied_requirement
      open
      diffy

      Blink W3C Test Autoroller (Gerrit)

      unread,
      Jan 9, 2026, 3:34:50 PM (4 days ago) Jan 9
      to Helmut Januschka, Dominic Battre, Wan-Teh Chang, Luca Versari, David Bokan, Chromium LUCI CQ, AyeAye, chromium...@chromium.org, Moritz Firsching, blink-revie...@chromium.org, kinuko+...@chromium.org, fuzzin...@chromium.org, cblume+im...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, mbarowsky+watc...@chromium.org
      Attention needed from Luca Versari

      Message from Blink W3C Test Autoroller

      Exportable changes to web-platform-tests were detected in this CL and a pull request in the upstream repo has been made: https://github.com/web-platform-tests/wpt/pull/57115.

      When this CL lands, the bot will automatically merge the PR on GitHub if the required GitHub checks pass; otherwise, ecosystem-infra@ team will triage the failures and may contact you.

      WPT Export docs:
      https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md#Automatic-export-process

      Gerrit-Comment-Date: Fri, 09 Jan 2026 20:34:38 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: No
      satisfied_requirement
      open
      diffy

      Helmut Januschka (Gerrit)

      unread,
      Jan 9, 2026, 3:37:36 PM (4 days ago) Jan 9
      to Helmut Januschka, Dominic Battre, Wan-Teh Chang, Luca Versari, David Bokan, Chromium LUCI CQ, AyeAye, Blink W3C Test Autoroller, chromium...@chromium.org, Moritz Firsching, blink-revie...@chromium.org, kinuko+...@chromium.org, fuzzin...@chromium.org, cblume+im...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, mbarowsky+watc...@chromium.org
      Attention needed from Luca Versari

      Helmut Januschka voted Commit-Queue+2

      Commit-Queue+2
      Gerrit-Comment-Date: Fri, 09 Jan 2026 20:37:18 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Wan-Teh Chang (Gerrit)

      unread,
      Jan 9, 2026, 4:23:48 PM (4 days ago) Jan 9
      to Helmut Januschka, Dominic Battre, Wan-Teh Chang, Luca Versari, David Bokan, Chromium LUCI CQ, AyeAye, Blink W3C Test Autoroller, chromium...@chromium.org, Moritz Firsching, blink-revie...@chromium.org, kinuko+...@chromium.org, fuzzin...@chromium.org, cblume+im...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, mbarowsky+watc...@chromium.org
      Attention needed from Helmut Januschka and Luca Versari

      Wan-Teh Chang voted and added 1 comment

      Votes added by Wan-Teh Chang

      Code-Review+1

      1 comment

      File third_party/rust/jxl/v0_2/wrapper/lib.rs
      Line 293, Patchset 6: Some(d) if d.is_finite() && d >= 0.0 => d as u32,
      Wan-Teh Chang . resolved

      I am not familiar with Rust. It seems that the code here will hide errors. Should we report an error if `d` is infinite or negative?

      Helmut Januschka

      The current behavior defaults invalid durations (infinite, negative, or None) to 0ms, which is a valid duration meaning "display as fast as possible." This follows the principle of graceful degradation. if we error/reject decoding it might be stricter but may reject otherwise viewable files.

      Wan-Teh Chang

      In this particular case, the degradation may be so graceful that it can't be detected by viewing. So an encoder-side bug may be hard to discover. As long as you have considered this and made an informed decision, it is fine.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Helmut Januschka
      • Luca Versari
      Gerrit-Attention: Helmut Januschka <hel...@januschka.com>
      Gerrit-Attention: Luca Versari <vel...@google.com>
      Gerrit-Comment-Date: Fri, 09 Jan 2026 21:23:36 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Chromium LUCI CQ (Gerrit)

      unread,
      Jan 9, 2026, 4:55:25 PM (4 days ago) Jan 9
      to Helmut Januschka, Dominic Battre, Wan-Teh Chang, Luca Versari, David Bokan, AyeAye, Blink W3C Test Autoroller, chromium...@chromium.org, Moritz Firsching, blink-revie...@chromium.org, kinuko+...@chromium.org, fuzzin...@chromium.org, cblume+im...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, mbarowsky+watc...@chromium.org

      Chromium LUCI CQ submitted the change

      Change information

      Commit message:
      Reland "Add JXL image decoder using jxl-rs"

      This is a reland of commit 3badff27281339878293e935a5e0fbb41da553bf

      Original change's description:
      > Add JXL image decoder using jxl-rs
      >
      > Adds JXLImageDecoder that uses the jxl-rs Decoder. Includes tests and
      > fuzzer.
      >
      > Bug: 462919304, 474417800

      > Change-Id: I90047f35f214eb2d8eeca3054a5ac601a5d9738f
      > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7319379
      > Reviewed-by: David Bokan <bo...@chromium.org>
      > Commit-Queue: Helmut Januschka <hel...@januschka.com>
      > Reviewed-by: Wan-Teh Chang <w...@google.com>
      > Cr-Commit-Position: refs/heads/main@{#1566591}
      Bug: 462919304
      Change-Id: Ib31b799f8364d2af6e39cc1240db630b1d6111f4
      Reviewed-by: Wan-Teh Chang <w...@google.com>
      Reviewed-by: David Bokan <bo...@chromium.org>
      Commit-Queue: Helmut Januschka <hel...@januschka.com>
      Cr-Commit-Position: refs/heads/main@{#1567198}
      Files:
      • M third_party/blink/renderer/platform/BUILD.gn
      • M third_party/blink/renderer/platform/blink_platform_unittests_bundle_data.filelist
      • M third_party/blink/renderer/platform/blink_platform_unittests_bundle_data.globlist
      • M third_party/blink/renderer/platform/image-decoders/BUILD.gn
      • M third_party/blink/renderer/platform/image-decoders/image_decoder_fuzzer_utils.cc
      • M third_party/blink/renderer/platform/image-decoders/image_decoder_fuzzer_utils.h
      • A third_party/blink/renderer/platform/image-decoders/jxl/OWNERS
      • A third_party/blink/renderer/platform/image-decoders/jxl/jxl_image_decoder.cc
      • A third_party/blink/renderer/platform/image-decoders/jxl/jxl_image_decoder.h
      • A third_party/blink/renderer/platform/image-decoders/jxl/jxl_image_decoder_fuzzer.cc
      • A third_party/blink/renderer/platform/image-decoders/jxl/jxl_image_decoder_test.cc
      • A third_party/blink/web_tests/external/wpt/jpegxl/resources/5_frames_numbered.jxl
      • A third_party/blink/web_tests/images/resources/newtons_cradle.jxl
      • A third_party/blink/web_tests/images/resources/zoltan.jxl
      • A third_party/rust/jxl/v0_2/wrapper/BUILD.gn
      • A third_party/rust/jxl/v0_2/wrapper/lib.rs
        Change size: XL
        Delta: 16 files changed, 1996 insertions(+), 0 deletions(-)
        Branch: refs/heads/main
        Submit Requirements:
        • requirement satisfiedCode-Review: +1 by Wan-Teh Chang, +1 by David Bokan
        Open in Gerrit
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: merged
        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: Ib31b799f8364d2af6e39cc1240db630b1d6111f4
        Gerrit-Change-Number: 7415206
        Gerrit-PatchSet: 8
        open
        diffy
        satisfied_requirement

        Blink W3C Test Autoroller (Gerrit)

        unread,
        Jan 9, 2026, 6:42:51 PM (3 days ago) Jan 9
        to Helmut Januschka, Chromium LUCI CQ, Dominic Battre, Wan-Teh Chang, Luca Versari, David Bokan, AyeAye, chromium...@chromium.org, Moritz Firsching, blink-revie...@chromium.org, kinuko+...@chromium.org, fuzzin...@chromium.org, cblume+im...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, mbarowsky+watc...@chromium.org

        Message from Blink W3C Test Autoroller

        The WPT PR for this CL has been merged upstream! https://github.com/web-platform-tests/wpt/pull/57115

        Open in Gerrit

        Related details

        Attention set is empty
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement satisfiedReview-Enforcement
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: Ib31b799f8364d2af6e39cc1240db630b1d6111f4
        Gerrit-Change-Number: 7415206
        Gerrit-PatchSet: 8
        Gerrit-Owner: Helmut Januschka <hel...@januschka.com>
        Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
        Gerrit-Reviewer: David Bokan <bo...@chromium.org>
        Gerrit-Reviewer: Helmut Januschka <hel...@januschka.com>
        Gerrit-Reviewer: Luca Versari <vel...@google.com>
        Gerrit-Reviewer: Wan-Teh Chang <w...@google.com>
        Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
        Gerrit-CC: Dominic Battre <bat...@chromium.org>
        Gerrit-CC: Moritz Firsching <firs...@google.com>
        Gerrit-Comment-Date: Fri, 09 Jan 2026 23:42:44 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: No
        satisfied_requirement
        open
        diffy

        Wan-Teh Chang (Gerrit)

        unread,
        Jan 9, 2026, 8:05:33 PM (3 days ago) Jan 9
        to Helmut Januschka, Chromium LUCI CQ, Dominic Battre, Wan-Teh Chang, Luca Versari, David Bokan, AyeAye, Blink W3C Test Autoroller, chromium...@chromium.org, Moritz Firsching, blink-revie...@chromium.org, kinuko+...@chromium.org, fuzzin...@chromium.org, cblume+im...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, mbarowsky+watc...@chromium.org
        Attention needed from Helmut Januschka

        Wan-Teh Chang added 1 comment

        File third_party/blink/renderer/platform/blink_platform_unittests_bundle_data.filelist
        Line 149, Patchset 8 (Latest):../../web_tests/external/wpt/jpegxl/resources/5_frames_numbered.jxl
        Wan-Teh Chang . unresolved

        Helmut: 5_frames_numbered.jxl is only used by jxl_image_decoder_test.cc. Are you planning to use 5_frames_numbered.jxl in a Web Platform Test (WPT)?

        If not, please move 5_frames_numbered.jxl to the third_party/blink/web_tests/images/resources/ directory.

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Helmut Januschka
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement satisfiedReview-Enforcement
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: Ib31b799f8364d2af6e39cc1240db630b1d6111f4
        Gerrit-Change-Number: 7415206
        Gerrit-PatchSet: 8
        Gerrit-Owner: Helmut Januschka <hel...@januschka.com>
        Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
        Gerrit-Reviewer: David Bokan <bo...@chromium.org>
        Gerrit-Reviewer: Helmut Januschka <hel...@januschka.com>
        Gerrit-Reviewer: Luca Versari <vel...@google.com>
        Gerrit-Reviewer: Wan-Teh Chang <w...@google.com>
        Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
        Gerrit-CC: Dominic Battre <bat...@chromium.org>
        Gerrit-CC: Moritz Firsching <firs...@google.com>
        Gerrit-Attention: Helmut Januschka <hel...@januschka.com>
        Gerrit-Comment-Date: Sat, 10 Jan 2026 01:05:24 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        open
        diffy

        Helmut Januschka (Gerrit)

        unread,
        Jan 10, 2026, 4:44:30 PM (3 days ago) Jan 10
        to Helmut Januschka, Chromium LUCI CQ, Dominic Battre, Wan-Teh Chang, Luca Versari, David Bokan, AyeAye, Blink W3C Test Autoroller, chromium...@chromium.org, Moritz Firsching, blink-revie...@chromium.org, kinuko+...@chromium.org, fuzzin...@chromium.org, cblume+im...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, mbarowsky+watc...@chromium.org

        Helmut Januschka added 1 comment

        File third_party/blink/renderer/platform/blink_platform_unittests_bundle_data.filelist
        Line 149, Patchset 8 (Latest):../../web_tests/external/wpt/jpegxl/resources/5_frames_numbered.jxl
        Wan-Teh Chang . resolved

        Helmut: 5_frames_numbered.jxl is only used by jxl_image_decoder_test.cc. Are you planning to use 5_frames_numbered.jxl in a Web Platform Test (WPT)?

        If not, please move 5_frames_numbered.jxl to the third_party/blink/web_tests/images/resources/ directory.

        Helmut Januschka

        sorry, that was a left over 😭, should have catched that, initially i thought, and aimed for a WPT to validate that animations work, to help other engines to move on with animations, sadly i haven't found a way to do a proper WPT. in the last CL of JXL integration https://chromium-review.googlesource.com/c/chromium/src/+/7184969 - i just pushed PS79 that moves the file! hope that works, let me know if it is important enough todo a standalone CL - and again sorry for the miss!.

        Open in Gerrit

        Related details

        Attention set is empty
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement satisfiedReview-Enforcement
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: Ib31b799f8364d2af6e39cc1240db630b1d6111f4
        Gerrit-Change-Number: 7415206
        Gerrit-PatchSet: 8
        Gerrit-Owner: Helmut Januschka <hel...@januschka.com>
        Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
        Gerrit-Reviewer: David Bokan <bo...@chromium.org>
        Gerrit-Reviewer: Helmut Januschka <hel...@januschka.com>
        Gerrit-Reviewer: Luca Versari <vel...@google.com>
        Gerrit-Reviewer: Wan-Teh Chang <w...@google.com>
        Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
        Gerrit-CC: Dominic Battre <bat...@chromium.org>
        Gerrit-CC: Moritz Firsching <firs...@google.com>
        Gerrit-Comment-Date: Sat, 10 Jan 2026 21:44:11 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Wan-Teh Chang <w...@google.com>
        satisfied_requirement
        open
        diffy

        Wan-Teh Chang (Gerrit)

        unread,
        Jan 12, 2026, 10:57:28 AM (19 hours ago) Jan 12
        to Helmut Januschka, Chromium LUCI CQ, Dominic Battre, Wan-Teh Chang, Luca Versari, David Bokan, AyeAye, Blink W3C Test Autoroller, chromium...@chromium.org, Moritz Firsching, blink-revie...@chromium.org, kinuko+...@chromium.org, fuzzin...@chromium.org, cblume+im...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, mbarowsky+watc...@chromium.org

        Wan-Teh Chang added 1 comment

        File third_party/blink/renderer/platform/blink_platform_unittests_bundle_data.filelist
        Line 149, Patchset 8 (Latest):../../web_tests/external/wpt/jpegxl/resources/5_frames_numbered.jxl
        Wan-Teh Chang . resolved

        Helmut: 5_frames_numbered.jxl is only used by jxl_image_decoder_test.cc. Are you planning to use 5_frames_numbered.jxl in a Web Platform Test (WPT)?

        If not, please move 5_frames_numbered.jxl to the third_party/blink/web_tests/images/resources/ directory.

        Helmut Januschka

        sorry, that was a left over 😭, should have catched that, initially i thought, and aimed for a WPT to validate that animations work, to help other engines to move on with animations, sadly i haven't found a way to do a proper WPT. in the last CL of JXL integration https://chromium-review.googlesource.com/c/chromium/src/+/7184969 - i just pushed PS79 that moves the file! hope that works, let me know if it is important enough todo a standalone CL - and again sorry for the miss!.

        Wan-Teh Chang

        It would be better to write a separate CL to correct this error. Reasons include:

        Gerrit-Comment-Date: Mon, 12 Jan 2026 15:57:18 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        open
        diffy

        Helmut Januschka (Gerrit)

        unread,
        Jan 12, 2026, 3:40:28 PM (14 hours ago) Jan 12
        to Helmut Januschka, Chromium LUCI CQ, Dominic Battre, Wan-Teh Chang, Luca Versari, David Bokan, AyeAye, Blink W3C Test Autoroller, chromium...@chromium.org, Moritz Firsching, blink-revie...@chromium.org, kinuko+...@chromium.org, fuzzin...@chromium.org, cblume+im...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, mbarowsky+watc...@chromium.org

        Helmut Januschka added 1 comment

        File third_party/blink/renderer/platform/blink_platform_unittests_bundle_data.filelist
        Line 149, Patchset 8 (Latest):../../web_tests/external/wpt/jpegxl/resources/5_frames_numbered.jxl
        Wan-Teh Chang . resolved

        Helmut: 5_frames_numbered.jxl is only used by jxl_image_decoder_test.cc. Are you planning to use 5_frames_numbered.jxl in a Web Platform Test (WPT)?

        If not, please move 5_frames_numbered.jxl to the third_party/blink/web_tests/images/resources/ directory.

        Helmut Januschka

        sorry, that was a left over 😭, should have catched that, initially i thought, and aimed for a WPT to validate that animations work, to help other engines to move on with animations, sadly i haven't found a way to do a proper WPT. in the last CL of JXL integration https://chromium-review.googlesource.com/c/chromium/src/+/7184969 - i just pushed PS79 that moves the file! hope that works, let me know if it is important enough todo a standalone CL - and again sorry for the miss!.

        Wan-Teh Chang

        It would be better to write a separate CL to correct this error. Reasons include:

        Helmut Januschka

        @w...@google.com thank you, totally makes sense, here is the standalone CL: https://chromium-review.googlesource.com/c/chromium/src/+/7456869

        Gerrit-Comment-Date: Mon, 12 Jan 2026 20:40:14 +0000
        satisfied_requirement
        open
        diffy
        Reply all
        Reply to author
        Forward
        0 new messages