ladybird/Tests
Luke Wilde adb5f7e485 LibXML+Tests: Consume > in the character data ending ]]> and test it
For example, with this input:
```xml
<C>]]>
```
After seeing `<C>`, the parser will start parsing the content of the
element. The content parser will then parse any character data it sees.

The character parser would see the first two `]]` and consume them.
Then, it would see the `>` and set the state machine to say we have
seen this, but it did _not_ consume it and would instead tell
GenericLexer that it should stop consuming characters. Therefore,
we only consumed 2 characters.

Then, it would see that we are in the state where we've seen the
full `]]>` and try to take off three characters from the end of the
consumed input when we only have 2 characters, causing an assertion
failure as we are asking to take off more characters than there really
is.
2022-05-30 00:16:17 +01:00
..
AK AK: Disable the HashTable<double> test until UB issue is fixed 2022-04-11 00:11:53 +02:00
Kernel Tests: Fix new GCC 12 warnings 2022-05-12 13:12:37 +02:00
LibC Tests: Add tests for posix_memalign(3) and aligned_alloc(3) 2022-05-20 22:18:54 +02:00
LibCompress LibCompress: Implement Brotli decompressor 2022-05-21 22:41:40 +02:00
LibCore LibCore: Introduce SharedSingleProducerCircularQueue 2022-04-21 13:55:00 +02:00
LibCpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
LibCrypto LibCrypto: Add Ed25519 2022-05-12 23:47:13 +04:30
LibEDID LibEDID: Fix handling extension maps 2022-01-24 19:29:06 +00:00
LibELF Userland+Tests: Convert File::read_link() from String to ErrorOr<String> 2022-03-24 11:57:51 +01:00
LibGfx LibGfx: Move other font-related files to LibGfx/Font/ 2022-04-09 23:48:18 +02:00
LibGL LibGL+LibGPU+LibSoftGPU: Implement point and line drawing 2022-05-09 21:49:48 +02:00
LibIMAP Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
LibJS LibJS: Remove implicit wrapping/unwrapping of completion records 2022-05-03 01:09:29 +02:00
LibM Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
LibMarkdown Everywhere: Move commonmark.spec.json to /home/anon/Tests 2022-03-20 22:20:59 +01:00
LibPDF LibPDF: Add implementation of the Standard security handler 2022-03-29 02:52:57 +02:00
LibPthread LibPthread: Add first test cases for RWlock 2021-09-28 18:36:20 +03:30
LibRegex LibRegex: Check inverse_matched after every op, not just at the end 2022-04-22 10:02:39 +02:00
LibSQL Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
LibTest LibTest: Add EXPECT_NO_CRASH 2021-12-19 14:22:06 -08:00
LibTextCodec Tests: Add a basic UTF-8 to UTF-8 LibTextCodec test 2022-03-29 01:01:32 +02:00
LibThreading Tests: Disable LibThreading detach tests for now 2021-10-06 19:21:35 +02:00
LibTimeZone Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2022-01-31 18:23:22 +00:00
LibTLS LibTLS: Fix TestTLSHandshake by correctly reading the CA certificates 2022-04-17 10:10:19 +04:30
LibTTF LibGfx: Move TTF files from TrueTypeFont/ to Font/TrueType/ 2022-04-09 23:48:18 +02:00
LibUnicode Tests: Add Unicode tests for CharacterType block properties 2022-02-15 10:13:19 -05:00
LibWasm Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
LibWeb Tests: Remove test-web 2022-04-06 19:35:07 +02:00
LibXML LibXML+Tests: Consume > in the character data ending ]]> and test it 2022-05-30 00:16:17 +01:00
Spreadsheet LibJS: Add infallible variant of VM::push_execution_context() 2022-03-18 01:12:12 +01:00
UserspaceEmulator Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
CMakeLists.txt LibXML+Tests: Consume > in the character data ending ]]> and test it 2022-05-30 00:16:17 +01:00