2. JXL is waaay more complex than Brotli so the risk of vulnerable implementation is also higher.
They should have demanded more rigor from the Brotli library, same for countless other dependencies chromium has. But there's no irony.
I think Chromium as a project would be happier if they had less unsafe code in general, and holding new dependencies (especially those like media formats, which have a long history of security issues) to that standard doesn’t seem particularly surprising.
There’s always going to be trade-offs: how much benefit does this provide (users, developers) compared with how much risk does it incur (safe/unsafe code, quantity of code you’re now on the line for the security of).
(And that’s taking that reason to not support JPEG XL at face value, ignoring any debate about it.)
https://github.com/libjxl/libjxl/pull/5062/commits/269661f71...
Storage and compression compute costs aren’t really relevant — only insofar as if there’s very little adoption, the security risk of exposing the code is there but isn’t providing user benefit.
It's pretty far from the "yet you participate in society" anti-pattern.