mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-22 21:37:22 +00:00
LibWeb: Implement TextEncoderStream
Required by the server-side rendering mode of React Router, used by https://chatgpt.com/ Note that the imported tests do not have the worker variants to prevent freezing on macOS.
This commit is contained in:
11
Libraries/LibWeb/Encoding/TextEncoderStream.idl
Normal file
11
Libraries/LibWeb/Encoding/TextEncoderStream.idl
Normal file
@@ -0,0 +1,11 @@
|
||||
#import <Encoding/TextEncoder.idl>
|
||||
#import <Streams/GenericTransformStream.idl>
|
||||
|
||||
// https://encoding.spec.whatwg.org/#textencoderstream
|
||||
[Exposed=*]
|
||||
interface TextEncoderStream {
|
||||
constructor();
|
||||
};
|
||||
|
||||
TextEncoderStream includes TextEncoderCommon;
|
||||
TextEncoderStream includes GenericTransformStream;
|
||||
Reference in New Issue
Block a user