Skip to content

Commit

Permalink
test: update compression web-platform tests
Browse files Browse the repository at this point in the history
PR-URL: nodejs#53478
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Tierney Cyren <hello@bnb.im>
  • Loading branch information
anonrig authored and bmeck committed Jun 22, 2024
1 parent 2c69fd0 commit 896df5e
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/fixtures/wpt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ See [test/wpt](../../wpt/README.md) for information on how these tests are run.
Last update:

- common: https://github.com/web-platform-tests/wpt/tree/dbd648158d/common
- compression: https://github.com/web-platform-tests/wpt/tree/c82521cfa5/compression
- compression: https://github.com/web-platform-tests/wpt/tree/5aa50dd415/compression
- console: https://github.com/web-platform-tests/wpt/tree/767ae35464/console
- dom/abort: https://github.com/web-platform-tests/wpt/tree/d1f1ecbd52/dom/abort
- dom/events: https://github.com/web-platform-tests/wpt/tree/ab8999891c/dom/events
Expand Down
3 changes: 3 additions & 0 deletions test/fixtures/wpt/compression/WEB_FEATURES.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
features:
- name: compression-streams
files: "**"
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ const bufferSourceChunksForDeflate = [
name: 'Uint32Array',
value: new Uint32Array(new Uint8Array(compressedBytesWithDeflate).buffer)
},
{
name: 'Float16Array',
value: new Float16Array(new Uint8Array(compressedBytesWithDeflate).buffer)
},
{
name: 'Float32Array',
value: new Float32Array(new Uint8Array(compressedBytesWithDeflate).buffer)
Expand Down Expand Up @@ -94,6 +98,10 @@ const bufferSourceChunksForGzip = [
name: 'Uint32Array',
value: new Uint32Array(new Uint8Array(compressedBytesWithGzip).buffer)
},
{
name: 'Float16Array',
value: new Float16Array(new Uint8Array(compressedBytesWithGzip).buffer)
},
{
name: 'Float32Array',
value: new Float32Array(new Uint8Array(compressedBytesWithGzip).buffer)
Expand Down Expand Up @@ -141,6 +149,10 @@ const bufferSourceChunksForDeflateRaw = [
name: 'Uint32Array',
value: new Uint32Array(new Uint8Array(compressedBytesWithDeflateRaw).buffer)
},
{
name: 'Float16Array',
value: new Float16Array(new Uint8Array(compressedBytesWithDeflateRaw).buffer)
},
{
name: 'Float32Array',
value: new Float32Array(new Uint8Array(compressedBytesWithDeflateRaw).buffer)
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/wpt/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"path": "common"
},
"compression": {
"commit": "c82521cfa587505746a853a24d22589633825b10",
"commit": "5aa50dd4151b5bc1d04d5505366c6e27df30af5b",
"path": "compression"
},
"console": {
Expand Down

0 comments on commit 896df5e

Please sign in to comment.