ladybird/Tests
Jelle Raaijmakers 1aeb080250 LibCompress: Treat LZW decoding errors as end of stream
The LZW data for both GIF and TIFF images is sometimes intentionally
missing an end-of-information (EOI) code, which technically is a
decoding error, but in practive is handled gracefully by Firefox, Safari
and Chrome for GIFs and Safari for TIFFs. Let's mirror their behavior.

The included WPT test exposes the fact that trailing garbage bytes can
also result in decoding errors. We handle this in the LZW logic rather
than in the image decoding since our LZW implementation is currently
only used by GIF and TIFF decoding. The error is logged behind the
LZW_DEBUG flag.
2026-04-29 20:28:15 +02:00
..
AK AK: Protect AK's JSON parser against invalid UTF-8 2026-04-28 22:54:47 +02:00
ClangPlugins Meta: Move most dependency checks to check_for_dependencies.cmake 2026-04-20 16:41:29 -06:00
LibCompress CMake: Rename serenity_* helper functions/macros to ladybird_* 2025-07-03 23:19:41 +02:00
LibCore LibCore: Allow zero-size AnonymousBuffer creation 2026-04-22 09:08:39 -04:00
LibCrypto LibCrypto: Use EVP_EncryptInit instead of EVP_DecryptInit in GCM encrypt 2026-03-19 22:28:26 +01:00
LibDatabase LibDatabase: Allow String values to contain embedded null bytes 2026-02-14 10:25:33 -05:00
LibDiff AK: Remove unused include from MemoryStream 2026-02-17 12:38:51 +00:00
LibDNS Meta+RequestServer: Remove local download of ca-certificates 2025-07-07 09:10:05 +02:00
LibGfx Documentation+Tests: Optimize PNGs using optipng 2026-02-23 13:45:04 +01:00
LibHTTP LibHTTP: Replace loaded cache entries in CacheIndex 2026-04-19 01:31:37 +02:00
LibIPC Everywhere: Replace Unix socket IPC transport with Mach ports on macOS 2026-03-23 18:50:48 +01:00
LibJS LibJS: Fast path Array.prototype.indexOf on packed arrays 2026-04-27 08:39:37 +02:00
LibMedia LibMedia: Remove reserved values from CICP enums 2026-04-18 01:25:00 -05:00
LibRegex LibRegex: Inline \w and \d ranges in legacy positive char classes 2026-04-21 16:36:38 +02:00
LibTest CMake: Rename serenity_* helper functions/macros to ladybird_* 2025-07-03 23:19:41 +02:00
LibTextCodec LibTextCodec: Add streaming decoder 2026-04-29 04:12:44 +02:00
LibThreading LibThreading: Simplify BackgroundAction callback invocation 2026-03-02 17:06:39 -06:00
LibTLS Meta: Move Lagom CMakeLists stuff to the top level CMakeLists 2026-03-29 13:59:11 -06:00
LibUnicode LibUnicode: Work around ICU bug over-canonicalizing "yes" keyword values 2026-03-14 08:17:03 -04:00
LibURL LibRegex: Add ECMAScriptRegex and migrate callers 2026-03-27 17:32:19 +01:00
LibWasm Meta: Move Lagom CMakeLists stuff to the top level CMakeLists 2026-03-29 13:59:11 -06:00
LibWeb LibCompress: Treat LZW decoding errors as end of stream 2026-04-29 20:28:15 +02:00
LibWebView LibWebView: Let Settings clear browsing history 2026-04-16 21:01:28 +02:00
LibXML CMake: Rename serenity_* helper functions/macros to ladybird_* 2025-07-03 23:19:41 +02:00
Meta Meta: Handle bracketed range notations in CSS value grammar 2026-04-29 11:42:57 +01:00
CMakeLists.txt Meta: Implement CSS value type parsing code generation 2026-04-29 11:42:57 +01:00