Skip to content

Commit dff436d

Browse files
JakeChampionGuy Bedford
andauthored
update to latest wpt and update our assertion files (#887)
Co-authored-by: Guy Bedford <[email protected]>
1 parent 6521347 commit dff436d

File tree

52 files changed

+1104
-208
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1104
-208
lines changed

tests/wpt-harness/expectations-sm/WebCryptoAPI/getRandomValues.any.js.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"Float16 arrays": {
3+
"status": "PASS"
4+
},
25
"Float arrays": {
36
"status": "PASS"
47
},

tests/wpt-harness/expectations-sm/WebCryptoAPI/idlharness.https.any.js.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
"SubtleCrypto interface: operation deriveKey(AlgorithmIdentifier, CryptoKey, AlgorithmIdentifier, boolean, sequence<KeyUsage>)": {
150150
"status": "FAIL"
151151
},
152-
"SubtleCrypto interface: operation deriveBits(AlgorithmIdentifier, CryptoKey, unsigned long)": {
152+
"SubtleCrypto interface: operation deriveBits(AlgorithmIdentifier, CryptoKey, optional unsigned long?)": {
153153
"status": "FAIL"
154154
},
155155
"SubtleCrypto interface: operation importKey(KeyFormat, (BufferSource or JsonWebKey), AlgorithmIdentifier, boolean, sequence<KeyUsage>)": {
@@ -212,10 +212,10 @@
212212
"SubtleCrypto interface: calling deriveKey(AlgorithmIdentifier, CryptoKey, AlgorithmIdentifier, boolean, sequence<KeyUsage>) on crypto.subtle with too few arguments must throw TypeError": {
213213
"status": "FAIL"
214214
},
215-
"SubtleCrypto interface: crypto.subtle must inherit property \"deriveBits(AlgorithmIdentifier, CryptoKey, unsigned long)\" with the proper type": {
215+
"SubtleCrypto interface: crypto.subtle must inherit property \"deriveBits(AlgorithmIdentifier, CryptoKey, optional unsigned long?)\" with the proper type": {
216216
"status": "FAIL"
217217
},
218-
"SubtleCrypto interface: calling deriveBits(AlgorithmIdentifier, CryptoKey, unsigned long) on crypto.subtle with too few arguments must throw TypeError": {
218+
"SubtleCrypto interface: calling deriveBits(AlgorithmIdentifier, CryptoKey, optional unsigned long?) on crypto.subtle with too few arguments must throw TypeError": {
219219
"status": "FAIL"
220220
},
221221
"SubtleCrypto interface: crypto.subtle must inherit property \"importKey(KeyFormat, (BufferSource or JsonWebKey), AlgorithmIdentifier, boolean, sequence<KeyUsage>)\" with the proper type": {

tests/wpt-harness/expectations-sm/WebCryptoAPI/import_export/ec_importKey.https.any.js.json

Lines changed: 342 additions & 0 deletions
Large diffs are not rendered by default.

tests/wpt-harness/expectations-sm/compression/decompression-buffersource.tentative.any.js.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
"chunk of type Uint32Array should work for deflate": {
2424
"status": "PASS"
2525
},
26+
"chunk of type Float16Array should work for deflate": {
27+
"status": "PASS"
28+
},
2629
"chunk of type Float32Array should work for deflate": {
2730
"status": "PASS"
2831
},
@@ -56,6 +59,9 @@
5659
"chunk of type Uint32Array should work for gzip": {
5760
"status": "PASS"
5861
},
62+
"chunk of type Float16Array should work for gzip": {
63+
"status": "PASS"
64+
},
5965
"chunk of type Float32Array should work for gzip": {
6066
"status": "PASS"
6167
},
@@ -89,6 +95,9 @@
8995
"chunk of type Uint32Array should work for deflate-raw": {
9096
"status": "PASS"
9197
},
98+
"chunk of type Float16Array should work for deflate-raw": {
99+
"status": "PASS"
100+
},
92101
"chunk of type Float32Array should work for deflate-raw": {
93102
"status": "PASS"
94103
},

tests/wpt-harness/expectations-sm/encoding/encodeInto.any.js.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,12 @@
305305
"Invalid encodeInto() destination: BigUint64Array, backed by: SharedArrayBuffer": {
306306
"status": "FAIL"
307307
},
308+
"Invalid encodeInto() destination: Float16Array, backed by: ArrayBuffer": {
309+
"status": "PASS"
310+
},
311+
"Invalid encodeInto() destination: Float16Array, backed by: SharedArrayBuffer": {
312+
"status": "FAIL"
313+
},
308314
"Invalid encodeInto() destination: Float32Array, backed by: ArrayBuffer": {
309315
"status": "PASS"
310316
},

tests/wpt-harness/expectations-sm/encoding/idlharness.any.js.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"TextDecoder interface: existence and properties of interface prototype object's @@unscopables property": {
4242
"status": "PASS"
4343
},
44-
"TextDecoder interface: operation decode(optional BufferSource, optional TextDecodeOptions)": {
44+
"TextDecoder interface: operation decode(optional AllowSharedBufferSource, optional TextDecodeOptions)": {
4545
"status": "PASS"
4646
},
4747
"TextDecoder interface: attribute encoding": {
@@ -59,10 +59,10 @@
5959
"Stringification of new TextDecoder()": {
6060
"status": "PASS"
6161
},
62-
"TextDecoder interface: new TextDecoder() must inherit property \"decode(optional BufferSource, optional TextDecodeOptions)\" with the proper type": {
62+
"TextDecoder interface: new TextDecoder() must inherit property \"decode(optional AllowSharedBufferSource, optional TextDecodeOptions)\" with the proper type": {
6363
"status": "PASS"
6464
},
65-
"TextDecoder interface: calling decode(optional BufferSource, optional TextDecodeOptions) on new TextDecoder() with too few arguments must throw TypeError": {
65+
"TextDecoder interface: calling decode(optional AllowSharedBufferSource, optional TextDecodeOptions) on new TextDecoder() with too few arguments must throw TypeError": {
6666
"status": "PASS"
6767
},
6868
"TextDecoder interface: new TextDecoder() must inherit property \"encoding\" with the proper type": {

tests/wpt-harness/expectations-sm/fetch/api/basic/request-forbidden-headers.any.js.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111
"Access-Control-Request-Method is a forbidden request header": {
1212
"status": "FAIL"
1313
},
14-
"Access-Control-Request-Private-Network is a forbidden request header": {
15-
"status": "FAIL"
16-
},
1714
"Connection is a forbidden request header": {
1815
"status": "FAIL"
1916
},

tests/wpt-harness/expectations-sm/fetch/api/basic/request-headers.any.js.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
"Fetch with POST with Int8Array body": {
3636
"status": "FAIL"
3737
},
38+
"Fetch with POST with Float16Array body": {
39+
"status": "FAIL"
40+
},
3841
"Fetch with POST with Float32Array body": {
3942
"status": "FAIL"
4043
},

tests/wpt-harness/expectations-sm/fetch/api/basic/request-upload.any.js.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
"Fetch with POST with Int8Array body": {
2121
"status": "PASS"
2222
},
23+
"Fetch with POST with Float16Array body": {
24+
"status": "PASS"
25+
},
2326
"Fetch with POST with Float32Array body": {
2427
"status": "PASS"
2528
},

tests/wpt-harness/expectations-sm/fetch/api/basic/request-upload.h2.any.js.json

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)