Intent to prototype and ship: Compression Streams

Skip to first unread message

Kagami Rosylight

Mar 27, 2023, 7:04:04 AMMar 27
As of March 25 (past, yes 😅) I intend to prototype and ship Compression Streams. This feature allows JavaScript to compress and decompress some industry standard compression formats, namely deflate/deflate-raw/gzip.

Standards body: Still in WICG yet and it's not clear to which body it will go. See for details.
Platform coverage: All
Preference: dom.compression_streams.enabled (on by default)
Mozilla standard position: positive.
Other browsers: Shipped in Chrome 80, shipping in Safari 16.4 (still in beta)
Web platform tests: (All green!)

How stable is the spec: There have been minimal changes with no visible behavior change since 2019/2020.
Security & privacy concerns: This uses an external library named zlib. While this library is old, mature, and being used by nearly everyone including multiple existing components in Gecko, extra fuzzing will still be helpful. The same library is used in Blink and WebKit to implement this feature. For privacy, this does not expose any system configuration. See also
Web developer use cases: Zip files can be created without depending on JS/wasm compression libraries, for example.
Reply all
Reply to author
0 new messages