Skip to content

Commit bcad560

Browse files
anonrigtargos
authored andcommitted
test: update compression web-platform tests
PR-URL: #53478 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Tierney Cyren <hello@bnb.im>
1 parent b8f436c commit bcad560

File tree

4 files changed

+17
-2
lines changed

4 files changed

+17
-2
lines changed

test/fixtures/wpt/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ See [test/wpt](../../wpt/README.md) for information on how these tests are run.
1111
Last update:
1212

1313
- common: https://github.com/web-platform-tests/wpt/tree/dbd648158d/common
14-
- compression: https://github.com/web-platform-tests/wpt/tree/c82521cfa5/compression
14+
- compression: https://github.com/web-platform-tests/wpt/tree/5aa50dd415/compression
1515
- console: https://github.com/web-platform-tests/wpt/tree/767ae35464/console
1616
- dom/abort: https://github.com/web-platform-tests/wpt/tree/d1f1ecbd52/dom/abort
1717
- dom/events: https://github.com/web-platform-tests/wpt/tree/ab8999891c/dom/events
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
features:
2+
- name: compression-streams
3+
files: "**"

test/fixtures/wpt/compression/decompression-buffersource.tentative.any.js

+12
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ const bufferSourceChunksForDeflate = [
4747
name: 'Uint32Array',
4848
value: new Uint32Array(new Uint8Array(compressedBytesWithDeflate).buffer)
4949
},
50+
{
51+
name: 'Float16Array',
52+
value: new Float16Array(new Uint8Array(compressedBytesWithDeflate).buffer)
53+
},
5054
{
5155
name: 'Float32Array',
5256
value: new Float32Array(new Uint8Array(compressedBytesWithDeflate).buffer)
@@ -94,6 +98,10 @@ const bufferSourceChunksForGzip = [
9498
name: 'Uint32Array',
9599
value: new Uint32Array(new Uint8Array(compressedBytesWithGzip).buffer)
96100
},
101+
{
102+
name: 'Float16Array',
103+
value: new Float16Array(new Uint8Array(compressedBytesWithGzip).buffer)
104+
},
97105
{
98106
name: 'Float32Array',
99107
value: new Float32Array(new Uint8Array(compressedBytesWithGzip).buffer)
@@ -141,6 +149,10 @@ const bufferSourceChunksForDeflateRaw = [
141149
name: 'Uint32Array',
142150
value: new Uint32Array(new Uint8Array(compressedBytesWithDeflateRaw).buffer)
143151
},
152+
{
153+
name: 'Float16Array',
154+
value: new Float16Array(new Uint8Array(compressedBytesWithDeflateRaw).buffer)
155+
},
144156
{
145157
name: 'Float32Array',
146158
value: new Float32Array(new Uint8Array(compressedBytesWithDeflateRaw).buffer)

test/fixtures/wpt/versions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"path": "common"
55
},
66
"compression": {
7-
"commit": "c82521cfa587505746a853a24d22589633825b10",
7+
"commit": "5aa50dd4151b5bc1d04d5505366c6e27df30af5b",
88
"path": "compression"
99
},
1010
"console": {

0 commit comments

Comments
 (0)