ladybird/Libraries/LibWeb/Encoding
Shannon Booth 7beac55210 LibWeb/Bindings: Pass exact typed array types through WebIDL bindings
Generate exact JS buffer types for exact IDL buffer arguments instead
of widening them to BufferSource or ArrayBufferView.

This fixes cases like TextEncoder.encodeInto(), whose IDL requires
a Uint8Array destination. Previously the generated binding accepted
any BufferSource, so DataView, other typed arrays, and
ArrayBuffer-backed values were let through. With exact conversion,
those are rejected at the binding layer as expected.
2026-04-26 17:50:58 +02:00
..
TextDecoder.cpp
TextDecoder.h
TextDecoder.idl
TextEncoder.cpp LibWeb/Bindings: Pass exact typed array types through WebIDL bindings 2026-04-26 17:50:58 +02:00
TextEncoder.h LibWeb/Bindings: Pass exact typed array types through WebIDL bindings 2026-04-26 17:50:58 +02:00
TextEncoder.idl
TextEncoderCommon.cpp
TextEncoderCommon.h
TextEncoderCommon.idl
TextEncoderStream.cpp
TextEncoderStream.h
TextEncoderStream.idl