ladybird/Libraries/LibWeb/Encoding
Shannon Booth ef6753a9f9 LibWeb+LibTextCodec: Wire decoder options through TextDecoder
Add explicit IgnoreBOM and ErrorMode options to LibTextCodec decoders,
and thread them through TextDecoder and TextDecoderStream.

This lets Web-facing decoder APIs preserve BOMs when requested and use
fatal error handling without post-processing decoded output.

NB: RemoveBOM was renamed to IgnoreBOM as "RemoveBOM" is the name
used by encoding_rs and was previously an implementation detail.
The new name matches what is used by the encoding standard as it
is now also used in LibWeb.
2026-06-23 07:25:11 +02:00
..
TextDecoder.cpp LibWeb+LibTextCodec: Wire decoder options through TextDecoder 2026-06-23 07:25:11 +02:00
TextDecoder.h LibWeb+LibTextCodec: Wire decoder options through TextDecoder 2026-06-23 07:25:11 +02:00
TextDecoder.idl LibWeb: Extract TextDecoderCommon mixin into its own files 2026-04-28 19:17:09 +02:00
TextDecoderCommon.cpp LibWeb+LibTextCodec: Wire decoder options through TextDecoder 2026-06-23 07:25:11 +02:00
TextDecoderCommon.h LibWeb+LibTextCodec: Wire decoder options through TextDecoder 2026-06-23 07:25:11 +02:00
TextDecoderCommon.idl LibWeb: Extract TextDecoderCommon mixin into its own files 2026-04-28 19:17:09 +02:00
TextDecoderStream.cpp LibWeb+LibTextCodec: Wire decoder options through TextDecoder 2026-06-23 07:25:11 +02:00
TextDecoderStream.h LibWeb+LibTextCodec: Wire decoder options through TextDecoder 2026-06-23 07:25:11 +02:00
TextDecoderStream.idl LibWeb: Implement TextDecoderStream 2026-04-28 19:17:09 +02:00
TextEncoder.cpp LibWeb/Encoding: Dont return ExceptionOr for encoder constructors 2026-06-23 07:25:11 +02:00
TextEncoder.h LibWeb/Encoding: Dont return ExceptionOr for encoder constructors 2026-06-23 07:25:11 +02:00
TextEncoder.idl LibWeb/Bindings: Remove GenerateAsRequired handling from IDL generator 2026-05-26 21:43:57 +02:00
TextEncoderCommon.cpp LibWeb: Extract the TextEncoderCommon mixin to its own IDL file 2025-02-07 11:04:46 -05:00
TextEncoderCommon.h LibWeb: Extract the TextEncoderCommon mixin to its own IDL file 2025-02-07 11:04:46 -05:00
TextEncoderCommon.idl LibWeb: Extract the TextEncoderCommon mixin to its own IDL file 2025-02-07 11:04:46 -05:00
TextEncoderStream.cpp LibWeb: Run text encoder/decoder stream algorithms in their realm 2026-06-23 07:25:11 +02:00
TextEncoderStream.h LibWeb/Encoding: Dont return ExceptionOr for encoder constructors 2026-06-23 07:25:11 +02:00
TextEncoderStream.idl LibWeb+LibIDL: Remove support for #import directives during parsing 2026-04-24 20:08:29 +02:00