Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype html>
<html class="test-wait">
<title>Truncated JPEG XL codestream followed by a partial box does not hang the decoder</title>
<img src="resources/incomplete-codestream-trailing-box.jxl">
<script>
// The image may decode or fail to decode; what is being tested is that the
// decode terminates.
document.querySelector("img").decode().finally(() => {
document.documentElement.className = "";
});
</script>