Skip to content

Commit 131d794

Browse files
Jake ChampionJakeChampion
authored andcommitted
update to latest web-platform-tests and update our test results
The steps I took to do this were: ```sh git submodule update --recursive --init (cd c-dependencies/spidermonkey/ && ./download-engine.sh release) (cd tests/wpt-harness/wpt && git fetch && git switch master && git pull) (mkdir -p dist && cd dist && make -f ../c-dependencies/js-compute-runtime/Makefile && bash ../tests/wpt-harness/build-wpt-runtime.sh && node ../tests/wpt-harness/run-wpt.mjs -vv --update-expectations) ```
1 parent 4ffe328 commit 131d794

14 files changed

+300
-21
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
"Float arrays": {
33
"status": 1
44
},
5+
"DataView": {
6+
"status": 1
7+
},
58
"Integer array: Int8Array": {
69
"status": 0
710
},

tests/wpt-harness/expectations/compression/compression-bad-chunks.tentative.any.js.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,40 +5,61 @@
55
"chunk of type undefined should error the stream for deflate": {
66
"status": 1
77
},
8+
"chunk of type undefined should error the stream for deflate-raw": {
9+
"status": 1
10+
},
811
"chunk of type null should error the stream for gzip": {
912
"status": 1
1013
},
1114
"chunk of type null should error the stream for deflate": {
1215
"status": 1
1316
},
17+
"chunk of type null should error the stream for deflate-raw": {
18+
"status": 1
19+
},
1420
"chunk of type numeric should error the stream for gzip": {
1521
"status": 1
1622
},
1723
"chunk of type numeric should error the stream for deflate": {
1824
"status": 1
1925
},
26+
"chunk of type numeric should error the stream for deflate-raw": {
27+
"status": 1
28+
},
2029
"chunk of type object, not BufferSource should error the stream for gzip": {
2130
"status": 1
2231
},
2332
"chunk of type object, not BufferSource should error the stream for deflate": {
2433
"status": 1
2534
},
35+
"chunk of type object, not BufferSource should error the stream for deflate-raw": {
36+
"status": 1
37+
},
2638
"chunk of type array should error the stream for gzip": {
2739
"status": 1
2840
},
2941
"chunk of type array should error the stream for deflate": {
3042
"status": 1
3143
},
44+
"chunk of type array should error the stream for deflate-raw": {
45+
"status": 1
46+
},
3247
"chunk of type SharedArrayBuffer should error the stream for gzip": {
3348
"status": 1
3449
},
3550
"chunk of type SharedArrayBuffer should error the stream for deflate": {
3651
"status": 1
3752
},
53+
"chunk of type SharedArrayBuffer should error the stream for deflate-raw": {
54+
"status": 1
55+
},
3856
"chunk of type shared Uint8Array should error the stream for gzip": {
3957
"status": 1
4058
},
4159
"chunk of type shared Uint8Array should error the stream for deflate": {
4260
"status": 1
61+
},
62+
"chunk of type shared Uint8Array should error the stream for deflate-raw": {
63+
"status": 1
4364
}
4465
}

tests/wpt-harness/expectations/compression/compression-including-empty-chunk.tentative.any.js.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,25 @@
55
"the result of compressing [,Hello,Hello] with gzip should be 'HelloHello'": {
66
"status": 0
77
},
8+
"the result of compressing [,Hello,Hello] with deflate-raw should be 'HelloHello'": {
9+
"status": 1
10+
},
811
"the result of compressing [Hello,,Hello] with deflate should be 'HelloHello'": {
912
"status": 0
1013
},
1114
"the result of compressing [Hello,,Hello] with gzip should be 'HelloHello'": {
1215
"status": 0
1316
},
17+
"the result of compressing [Hello,,Hello] with deflate-raw should be 'HelloHello'": {
18+
"status": 1
19+
},
1420
"the result of compressing [Hello,Hello,] with deflate should be 'HelloHello'": {
1521
"status": 0
1622
},
1723
"the result of compressing [Hello,Hello,] with gzip should be 'HelloHello'": {
1824
"status": 0
25+
},
26+
"the result of compressing [Hello,Hello,] with deflate-raw should be 'HelloHello'": {
27+
"status": 1
1928
}
2029
}

tests/wpt-harness/expectations/compression/compression-multiple-chunks.tentative.any.js.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,88 +5,133 @@
55
"compressing 2 chunks with gzip should work": {
66
"status": 0
77
},
8+
"compressing 2 chunks with deflate-raw should work": {
9+
"status": 1
10+
},
811
"compressing 3 chunks with deflate should work": {
912
"status": 0
1013
},
1114
"compressing 3 chunks with gzip should work": {
1215
"status": 0
1316
},
17+
"compressing 3 chunks with deflate-raw should work": {
18+
"status": 1
19+
},
1420
"compressing 4 chunks with deflate should work": {
1521
"status": 0
1622
},
1723
"compressing 4 chunks with gzip should work": {
1824
"status": 0
1925
},
26+
"compressing 4 chunks with deflate-raw should work": {
27+
"status": 1
28+
},
2029
"compressing 5 chunks with deflate should work": {
2130
"status": 0
2231
},
2332
"compressing 5 chunks with gzip should work": {
2433
"status": 0
2534
},
35+
"compressing 5 chunks with deflate-raw should work": {
36+
"status": 1
37+
},
2638
"compressing 6 chunks with deflate should work": {
2739
"status": 0
2840
},
2941
"compressing 6 chunks with gzip should work": {
3042
"status": 0
3143
},
44+
"compressing 6 chunks with deflate-raw should work": {
45+
"status": 1
46+
},
3247
"compressing 7 chunks with deflate should work": {
3348
"status": 0
3449
},
3550
"compressing 7 chunks with gzip should work": {
3651
"status": 0
3752
},
53+
"compressing 7 chunks with deflate-raw should work": {
54+
"status": 1
55+
},
3856
"compressing 8 chunks with deflate should work": {
3957
"status": 0
4058
},
4159
"compressing 8 chunks with gzip should work": {
4260
"status": 0
4361
},
62+
"compressing 8 chunks with deflate-raw should work": {
63+
"status": 1
64+
},
4465
"compressing 9 chunks with deflate should work": {
4566
"status": 0
4667
},
4768
"compressing 9 chunks with gzip should work": {
4869
"status": 0
4970
},
71+
"compressing 9 chunks with deflate-raw should work": {
72+
"status": 1
73+
},
5074
"compressing 10 chunks with deflate should work": {
5175
"status": 0
5276
},
5377
"compressing 10 chunks with gzip should work": {
5478
"status": 0
5579
},
80+
"compressing 10 chunks with deflate-raw should work": {
81+
"status": 1
82+
},
5683
"compressing 11 chunks with deflate should work": {
5784
"status": 0
5885
},
5986
"compressing 11 chunks with gzip should work": {
6087
"status": 0
6188
},
89+
"compressing 11 chunks with deflate-raw should work": {
90+
"status": 1
91+
},
6292
"compressing 12 chunks with deflate should work": {
6393
"status": 0
6494
},
6595
"compressing 12 chunks with gzip should work": {
6696
"status": 0
6797
},
98+
"compressing 12 chunks with deflate-raw should work": {
99+
"status": 1
100+
},
68101
"compressing 13 chunks with deflate should work": {
69102
"status": 0
70103
},
71104
"compressing 13 chunks with gzip should work": {
72105
"status": 0
73106
},
107+
"compressing 13 chunks with deflate-raw should work": {
108+
"status": 1
109+
},
74110
"compressing 14 chunks with deflate should work": {
75111
"status": 0
76112
},
77113
"compressing 14 chunks with gzip should work": {
78114
"status": 0
79115
},
116+
"compressing 14 chunks with deflate-raw should work": {
117+
"status": 1
118+
},
80119
"compressing 15 chunks with deflate should work": {
81120
"status": 0
82121
},
83122
"compressing 15 chunks with gzip should work": {
84123
"status": 0
85124
},
125+
"compressing 15 chunks with deflate-raw should work": {
126+
"status": 1
127+
},
86128
"compressing 16 chunks with deflate should work": {
87129
"status": 0
88130
},
89131
"compressing 16 chunks with gzip should work": {
90132
"status": 0
133+
},
134+
"compressing 16 chunks with deflate-raw should work": {
135+
"status": 1
91136
}
92137
}

tests/wpt-harness/expectations/compression/compression-output-length.tentative.any.js.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@
44
},
55
"the length of gzipped data should be shorter than that of the original data": {
66
"status": 0
7+
},
8+
"the length of deflated (with -raw) data should be shorter than that of the original data": {
9+
"status": 1
710
}
811
}

0 commit comments

Comments
 (0)