@kornel what happened about that thing of building native libraries to Wasm, then doing AOT compilation and running the resulting code in a sandbox that Firefox was supposed to be doing? Sounds like the perfect solution to to add support while avoiding directly using the C++ implementation, yet having a complete implementation today:
https://hacks.mozilla.org/2021/12/webassembly-and-back-again-fine-grained-sandboxing-in-firefox-95/
Saying “we want to support JPEG-XL but we won't until $X that somebody else had to do” sounds like moving goalposts in an attempt to silence the people asking for the feature without really committing to work on it.