Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
FF147 Relnote: CompressionStream/DecompressionStream support brotli +… (
mdn#42312)

FF147 Relnote: CompressionStream/DecompressionStream support brotli + doc tweak
  • Loading branch information
hamishwillee authored Dec 15, 2025
commit 58ea518e521a18a8930a67adc544cfd420d8f98f
3 changes: 3 additions & 0 deletions files/en-us/mozilla/firefox/releases/147/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ Firefox 147 is the current [Beta version of Firefox](https://www.firefox.com/en-
This provides the ability to initiate, intercept, and manage browser navigation actions, and to examine an application's history entries. This is a successor to previous web platform features such as the {{domxref("History API", "", "", "nocode")}} and {{domxref("window.location")}}, which solves their shortcomings and is specifically aimed at the needs of {{glossary("SPA", "single-page applications (SPAs)")}}.
([Firefox bug 1997962](https://bugzil.la/1997962)).

- Brotli compression is now supported for both [`CompressionStream`](/en-US/docs/Web/API/CompressionStream/CompressionStream#brotli) and [`DecompressionStream`](/en-US/docs/Web/API/DecompressionStream/DecompressionStream#brotli).
([Firefox bug 1921583](https://bugzil.la/1921583)).

<!-- #### DOM -->

<!-- #### Media, WebRTC, and Web Audio -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,17 @@ new CompressionStream(format)

- `format`
- : One of the following allowed compression formats:
- `"brotli"`
- : Compresses the stream using the [Brotli](https://www.rfc-editor.org/rfc/rfc1952) algorithm.
- `"gzip"`
- : Compresses the stream using the [GZIP](https://www.rfc-editor.org/rfc/rfc1952) format.
- `"deflate"`
- : Compresses the stream using the [DEFLATE](https://www.rfc-editor.org/rfc/rfc1950) algorithm in ZLIB Compressed Data Format.
The ZLIB format includes a header with information about the compression method and the uncompressed size of the data, and a trailing checksum for verifying the integrity of the data
- `"deflate-raw"`
- : Compresses the stream using the [DEFLATE](https://www.rfc-editor.org/rfc/rfc1951) algorithm without a header and trailing checksum.
- `"zstd"`
- : Compresses the stream using the [ZSTD](https://datatracker.ietf.org/doc/html/rfc8478) algorithm.

### Exceptions

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,17 @@ new DecompressionStream(format)

- `format`
- : One of the following compression formats:
- `"brotli"`
- : Decompress the stream using the [Brotli](https://www.rfc-editor.org/rfc/rfc1952) algorithm.
- `"gzip"`
- : Decompress the stream using the [GZIP](https://www.rfc-editor.org/rfc/rfc1952) format.
- : Decompress the stream using the [GZIP](https://www.rfc-editor.org/rfc/rfc1952) algorithm.
- `"deflate"`
- : Decompress the stream using the [DEFLATE](https://www.rfc-editor.org/rfc/rfc1950) algorithm in ZLIB Compressed Data Format.
The ZLIB format includes a header with information about the compression method and the uncompressed size of the data, and a trailing checksum for verifying the integrity of the data
- `"deflate-raw"`
- : Decompress the stream using the [DEFLATE](https://www.rfc-editor.org/rfc/rfc1951) algorithm without a header and trailing checksum.
- `"zstd"`
- : Decompress the stream using the [ZSTD](https://datatracker.ietf.org/doc/html/rfc8478) algorithm.

### Exceptions

Expand Down