Bug 258655

Summary: Safari TP 173 cannot show JPEG XL placed to the top of https://jpegxl.info
Product: WebKit Reporter: Tetsuharu Ohzeki [UTC+9] <tetsuharu.ohzeki>
Component: ImagesAssignee: Nobody <webkit-unassigned>
Status: RESOLVED MOVED    
Severity: Normal CC: ap, jon, mmaxfield, sabouhallawa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: macOS 13   
Bug Depends on:    
Bug Blocks: 208235    

Description Tetsuharu Ohzeki [UTC+9] 2023-06-28 19:18:29 PDT
## Environment
- macOS 13.4.1(22F82), Intel
- Safari TP 173 (Safari 17.0, WebKit 18616.1.20.2)


## Steps to Reproduce

1. Open https://jpegxl.info


## Actual Behavior

- "JPEG XL logo / browser support test" image is not shown.
    - Safari fails to decode?
- But the fallback image is also not shown.
- By Network Tab in Web Inspector, Safari downloaded https://jpegxl.info/logo.jxl.
    - The request was sent with `Accept: image/webp,image/avif,image/jxl,image/heic,image/heic-sequence,video/*;q=0.8,image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5` header.

## Expected Behavior

Show "JPEG XL logo / browser support test" image properly with JPEG XL.
Comment 1 Tetsuharu Ohzeki [UTC+9] 2023-06-29 04:33:39 PDT
I confirmed this is reproduced on macOS 13.4.1 (Apple Silicon).
Comment 2 Alexey Proskuryakov 2023-06-30 11:26:09 PDT
Tank you for the report, we are investigating.
Comment 3 Radar WebKit Bug Importer 2023-07-05 19:19:16 PDT
<rdar://problem/111822589>
Comment 4 Myles C. Maxfield 2023-07-11 19:46:59 PDT
We determined why this is happening. It's an issue with Apple's internal build system. Moving to <rdar://problem/111822589>
Comment 5 Alexey Proskuryakov 2023-07-20 13:13:47 PDT
*** Bug 259361 has been marked as a duplicate of this bug. ***
Comment 6 Alexey Proskuryakov 2023-07-27 18:55:49 PDT
Please test with STP 175.
Comment 7 Myles C. Maxfield 2023-07-27 20:29:25 PDT
STP 175 does indeed have JPEG XL enabled, but we are tracking an issue about graphical distortion using it. We are investigating them at https://bugs.webkit.org/show_bug.cgi?id=259587
Comment 8 Myles C. Maxfield 2023-07-31 12:59:02 PDT
We are intentionally disabling JPEG XL on Ventura and Monterey (but not Sonoma, and not non-macOS) until we can figure out the graphical distortion problem. See commits.webkit.org/266408@main
Comment 9 Myles C. Maxfield 2023-07-31 12:59:16 PDT
*** intentionally and temporarily disabling