Skip to content

Commit 58ea518

Browse files
authored
FF147 Relnote: CompressionStream/DecompressionStream support brotli +… (#42312)
FF147 Relnote: CompressionStream/DecompressionStream support brotli + doc tweak
1 parent d761f12 commit 58ea518

File tree

3 files changed

+12
-1
lines changed
  • files/en-us
    • mozilla/firefox/releases/147
    • web/api
      • compressionstream/compressionstream
      • decompressionstream/decompressionstream

3 files changed

+12
-1
lines changed

files/en-us/mozilla/firefox/releases/147/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ Firefox 147 is the current [Beta version of Firefox](https://www.firefox.com/en-
6666
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)")}}.
6767
([Firefox bug 1997962](https://bugzil.la/1997962)).
6868

69+
- 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).
70+
([Firefox bug 1921583](https://bugzil.la/1921583)).
71+
6972
<!-- #### DOM -->
7073

7174
<!-- #### Media, WebRTC, and Web Audio -->

files/en-us/web/api/compressionstream/compressionstream/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,17 @@ new CompressionStream(format)
2020

2121
- `format`
2222
- : One of the following allowed compression formats:
23+
- `"brotli"`
24+
- : Compresses the stream using the [Brotli](https://www.rfc-editor.org/rfc/rfc1952) algorithm.
2325
- `"gzip"`
2426
- : Compresses the stream using the [GZIP](https://www.rfc-editor.org/rfc/rfc1952) format.
2527
- `"deflate"`
2628
- : Compresses the stream using the [DEFLATE](https://www.rfc-editor.org/rfc/rfc1950) algorithm in ZLIB Compressed Data Format.
2729
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
2830
- `"deflate-raw"`
2931
- : Compresses the stream using the [DEFLATE](https://www.rfc-editor.org/rfc/rfc1951) algorithm without a header and trailing checksum.
32+
- `"zstd"`
33+
- : Compresses the stream using the [ZSTD](https://datatracker.ietf.org/doc/html/rfc8478) algorithm.
3034

3135
### Exceptions
3236

files/en-us/web/api/decompressionstream/decompressionstream/index.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,17 @@ new DecompressionStream(format)
2020

2121
- `format`
2222
- : One of the following compression formats:
23+
- `"brotli"`
24+
- : Decompress the stream using the [Brotli](https://www.rfc-editor.org/rfc/rfc1952) algorithm.
2325
- `"gzip"`
24-
- : Decompress the stream using the [GZIP](https://www.rfc-editor.org/rfc/rfc1952) format.
26+
- : Decompress the stream using the [GZIP](https://www.rfc-editor.org/rfc/rfc1952) algorithm.
2527
- `"deflate"`
2628
- : Decompress the stream using the [DEFLATE](https://www.rfc-editor.org/rfc/rfc1950) algorithm in ZLIB Compressed Data Format.
2729
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
2830
- `"deflate-raw"`
2931
- : Decompress the stream using the [DEFLATE](https://www.rfc-editor.org/rfc/rfc1951) algorithm without a header and trailing checksum.
32+
- `"zstd"`
33+
- : Decompress the stream using the [ZSTD](https://datatracker.ietf.org/doc/html/rfc8478) algorithm.
3034

3135
### Exceptions
3236

0 commit comments

Comments
 (0)