ladybird/Tests/LibWeb
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
..
Assets LibWeb: Verify whitespace font has the glyph in font_for_space() 2026-04-22 20:27:41 +02:00
Crash LibWeb: Add incremental HTML parsing 2026-04-29 04:12:44 +02:00
CSSTokenizer LibWeb: Clamp CSS numeric token values to float range 2026-04-22 14:24:12 +01:00
Fixtures LibWeb: Add incremental HTML parsing 2026-04-29 04:12:44 +02:00
Layout LibCompress: Treat LZW decoding errors as end of stream 2026-04-29 20:28:15 +02:00
Ref LibCompress: Treat LZW decoding errors as end of stream 2026-04-29 20:28:15 +02:00
Screenshot LibWeb: Don't tear down an active effect saveLayer during culling check 2026-04-28 16:14:44 +02:00
test-web Tests/LibWeb: Dispatch TestRendered event when reftest-wait is present 2026-04-29 20:28:15 +02:00
Text LibCompress: Treat LZW decoding errors as end of stream 2026-04-29 20:28:15 +02:00
add_libweb_test.py LibWeb: Compare Screenshot tests directly against expected PNGs 2026-02-24 09:55:14 +01:00
CMakeLists.txt LibWeb: Narrow inline stylesheet insertRule() invalidation 2026-04-23 16:45:22 +02:00
css-tokenizer.cpp Tests: Add a CSS Tokenizer test suite 2026-04-15 10:23:09 +01:00
test-css-tokenizer.py Tests: Add a CSS Tokenizer test suite 2026-04-15 10:23:09 +01:00
TestConfig.ini LibWeb: Add incremental HTML parsing 2026-04-29 04:12:44 +02:00
TestContentFilter.cpp Tests: Add some content filter tests 2025-12-09 11:25:28 +00:00
TestControlMessageQueue.cpp LibWeb/WebAudio: Add stable IDs to AudioNodes 2026-01-23 15:03:43 +01:00
TestCSSIDSpeed.cpp
TestCSSInheritedProperty.cpp LibWeb/CSS: Remove PropertyID::Invalid 2025-09-30 15:21:09 +02:00
TestCSSPixels.cpp
TestCSSStyleSheetInvalidation.cpp LibWeb: Narrow inline stylesheet insertRule() invalidation 2026-04-23 16:45:22 +02:00
TestCSSSyntaxParser.cpp LibWeb/CSS: Parse the CSS <syntax> type into a tree 2025-07-16 14:47:45 +01:00
TestCSSTokenStream.cpp
TestFetchURL.cpp Everywhere: Remove some use of the URL constructors 2025-02-19 08:01:35 -05:00
TestHTMLTokenizer.cpp LibWeb: Explicitly disallow skipping 0 characters in HTML tokenizer 2025-11-06 10:59:54 +01:00
TestMicrosyntax.cpp
TestMimeSniff.cpp LibWeb/MimeSniff: Update Rar signature to match spec 2025-07-31 16:21:20 +02:00
TestNumbers.cpp
TestSourceHighlighter.cpp LibJS: Fix syntax highlighter position starting at invalid sentinel 2026-03-20 15:32:33 +01:00
TestStrings.cpp LibWeb: Only use code unit length for is_code_unit_prefix 2025-05-12 11:20:32 +02:00
tokenizer-test.html