LibWeb: Implement the CompressionStream interface

This commit is contained in:
Timothy Flynn 2024-11-15 11:11:47 -05:00 committed by Andreas Kling
commit 638a8aecad
Notes: github-actions[bot] 2024-11-17 22:21:57 +00:00
10 changed files with 303 additions and 1 deletions

View file

@ -0,0 +1,16 @@
#import <Streams/GenericTransformStream.idl>
// https://compression.spec.whatwg.org/#enumdef-compressionformat
enum CompressionFormat {
"deflate",
"deflate-raw",
"gzip",
};
// https://compression.spec.whatwg.org/#compressionstream
[Exposed=*]
interface CompressionStream {
constructor(CompressionFormat format);
};
CompressionStream includes GenericTransformStream;