mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 17:49:40 +00:00
LibWeb: Implement the CompressionStream interface
This commit is contained in:
parent
c0da3e356a
commit
638a8aecad
Notes:
github-actions[bot]
2024-11-17 22:21:57 +00:00
Author: https://github.com/trflynn89
Commit: 638a8aecad
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2370
10 changed files with 303 additions and 1 deletions
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;
|
Loading…
Add table
Add a link
Reference in a new issue