mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-06-17 15:25:35 +00:00
Represent BufferSource and ArrayBufferView as ordinary IDL typedefs over their underlying union types, instead of special casing in the IDL generator. This allows the union conversion/return machinery handle these types consistently with other typedefs, which removes buffer specific paths from the IDL generator. This necessitates changing the WebIDL::BufferSource and WebIDL::ArrayBufferView classes as views over these variants. This replaces the old GC backed BufferableObject wrapper structure and provide convenience helpers to determine things such as the byte length, byte offset, backing buffer, and typed-array APIs. |
||
|---|---|---|
| .. | ||
| TextDecoder.cpp | ||
| TextDecoder.h | ||
| TextDecoder.idl | ||
| TextDecoderCommon.cpp | ||
| TextDecoderCommon.h | ||
| TextDecoderCommon.idl | ||
| TextDecoderStream.cpp | ||
| TextDecoderStream.h | ||
| TextDecoderStream.idl | ||
| TextEncoder.cpp | ||
| TextEncoder.h | ||
| TextEncoder.idl | ||
| TextEncoderCommon.cpp | ||
| TextEncoderCommon.h | ||
| TextEncoderCommon.idl | ||
| TextEncoderStream.cpp | ||
| TextEncoderStream.h | ||
| TextEncoderStream.idl | ||