Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /jpegxl/custom-primaries-icc-overflow-crash.html - WPT Dashboard Interop Dashboard
<!doctype html>
<html class="test-wait">
<title>JPEG XL custom primaries with no representable ICC profile do not crash the decoder</title>
<img src="resources/custom-primaries-icc-overflow.jxl">
<script>
// The image may decode or fail to decode; what is being tested is that the
// decode doesn't crash.
document.querySelector("img").decode().finally(() => {
document.documentElement.className = "";
});
</script>