mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibWeb: Implement the CompressionStream interface
This commit is contained in:
committed by
Andreas Kling
parent
c0da3e356a
commit
638a8aecad
16
Libraries/LibWeb/Compression/CompressionStream.idl
Normal file
16
Libraries/LibWeb/Compression/CompressionStream.idl
Normal 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;
|
||||
Reference in New Issue
Block a user