Skip to content

Commit 5e2c682

Browse files
author
Guy Bedford
authored
fix: reinstate broken wpt tests (#1071)
1 parent 5083e84 commit 5e2c682

File tree

6 files changed

+638
-5
lines changed

6 files changed

+638
-5
lines changed
Lines changed: 243 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,248 @@
11
{
22
"idl_test setup": {
3+
"status": "PASS"
4+
},
5+
"idl_test validation": {
6+
"status": "PASS"
7+
},
8+
"Partial interface mixin WindowOrWorkerGlobalScope: original interface mixin defined": {
9+
"status": "PASS"
10+
},
11+
"Partial interface mixin WindowOrWorkerGlobalScope: member names are unique": {
12+
"status": "PASS"
13+
},
14+
"Partial interface Window: member names are unique": {
15+
"status": "PASS"
16+
},
17+
"Window includes GlobalEventHandlers: member names are unique": {
18+
"status": "PASS"
19+
},
20+
"Window includes WindowEventHandlers: member names are unique": {
21+
"status": "PASS"
22+
},
23+
"Window includes WindowOrWorkerGlobalScope: member names are unique": {
24+
"status": "PASS"
25+
},
26+
"WorkerGlobalScope includes WindowOrWorkerGlobalScope: member names are unique": {
27+
"status": "PASS"
28+
},
29+
"Window includes AnimationFrameProvider: member names are unique": {
30+
"status": "PASS"
31+
},
32+
"Window includes WindowSessionStorage: member names are unique": {
33+
"status": "PASS"
34+
},
35+
"Window includes WindowLocalStorage: member names are unique": {
36+
"status": "PASS"
37+
},
38+
"Crypto interface: existence and properties of interface object": {
39+
"status": "PASS"
40+
},
41+
"Crypto interface object length": {
42+
"status": "PASS"
43+
},
44+
"Crypto interface object name": {
45+
"status": "PASS"
46+
},
47+
"Crypto interface: existence and properties of interface prototype object": {
48+
"status": "PASS"
49+
},
50+
"Crypto interface: existence and properties of interface prototype object's \"constructor\" property": {
51+
"status": "PASS"
52+
},
53+
"Crypto interface: existence and properties of interface prototype object's @@unscopables property": {
54+
"status": "PASS"
55+
},
56+
"Crypto interface: attribute subtle": {
57+
"status": "PASS"
58+
},
59+
"Crypto interface: operation getRandomValues(ArrayBufferView)": {
60+
"status": "PASS"
61+
},
62+
"Crypto interface: operation randomUUID()": {
63+
"status": "PASS"
64+
},
65+
"Crypto must be primary interface of crypto": {
66+
"status": "PASS"
67+
},
68+
"Stringification of crypto": {
69+
"status": "PASS"
70+
},
71+
"Crypto interface: crypto must inherit property \"subtle\" with the proper type": {
72+
"status": "PASS"
73+
},
74+
"Crypto interface: crypto must inherit property \"getRandomValues(ArrayBufferView)\" with the proper type": {
75+
"status": "PASS"
76+
},
77+
"Crypto interface: calling getRandomValues(ArrayBufferView) on crypto with too few arguments must throw TypeError": {
78+
"status": "PASS"
79+
},
80+
"Crypto interface: crypto must inherit property \"randomUUID()\" with the proper type": {
81+
"status": "PASS"
82+
},
83+
"CryptoKey interface: existence and properties of interface object": {
84+
"status": "PASS"
85+
},
86+
"CryptoKey interface object length": {
87+
"status": "PASS"
88+
},
89+
"CryptoKey interface object name": {
90+
"status": "PASS"
91+
},
92+
"CryptoKey interface: existence and properties of interface prototype object": {
93+
"status": "PASS"
94+
},
95+
"CryptoKey interface: existence and properties of interface prototype object's \"constructor\" property": {
96+
"status": "PASS"
97+
},
98+
"CryptoKey interface: existence and properties of interface prototype object's @@unscopables property": {
99+
"status": "PASS"
100+
},
101+
"CryptoKey interface: attribute type": {
102+
"status": "PASS"
103+
},
104+
"CryptoKey interface: attribute extractable": {
105+
"status": "PASS"
106+
},
107+
"CryptoKey interface: attribute algorithm": {
108+
"status": "PASS"
109+
},
110+
"CryptoKey interface: attribute usages": {
111+
"status": "PASS"
112+
},
113+
"SubtleCrypto interface: existence and properties of interface object": {
114+
"status": "PASS"
115+
},
116+
"SubtleCrypto interface object length": {
117+
"status": "PASS"
118+
},
119+
"SubtleCrypto interface object name": {
120+
"status": "PASS"
121+
},
122+
"SubtleCrypto interface: existence and properties of interface prototype object": {
123+
"status": "PASS"
124+
},
125+
"SubtleCrypto interface: existence and properties of interface prototype object's \"constructor\" property": {
126+
"status": "PASS"
127+
},
128+
"SubtleCrypto interface: existence and properties of interface prototype object's @@unscopables property": {
129+
"status": "PASS"
130+
},
131+
"SubtleCrypto interface: operation encrypt(AlgorithmIdentifier, CryptoKey, BufferSource)": {
3132
"status": "FAIL"
133+
},
134+
"SubtleCrypto interface: operation decrypt(AlgorithmIdentifier, CryptoKey, BufferSource)": {
135+
"status": "FAIL"
136+
},
137+
"SubtleCrypto interface: operation sign(AlgorithmIdentifier, CryptoKey, BufferSource)": {
138+
"status": "PASS"
139+
},
140+
"SubtleCrypto interface: operation verify(AlgorithmIdentifier, CryptoKey, BufferSource, BufferSource)": {
141+
"status": "PASS"
142+
},
143+
"SubtleCrypto interface: operation digest(AlgorithmIdentifier, BufferSource)": {
144+
"status": "PASS"
145+
},
146+
"SubtleCrypto interface: operation generateKey(AlgorithmIdentifier, boolean, sequence<KeyUsage>)": {
147+
"status": "FAIL"
148+
},
149+
"SubtleCrypto interface: operation deriveKey(AlgorithmIdentifier, CryptoKey, AlgorithmIdentifier, boolean, sequence<KeyUsage>)": {
150+
"status": "FAIL"
151+
},
152+
"SubtleCrypto interface: operation deriveBits(AlgorithmIdentifier, CryptoKey, optional unsigned long?)": {
153+
"status": "FAIL"
154+
},
155+
"SubtleCrypto interface: operation importKey(KeyFormat, (BufferSource or JsonWebKey), AlgorithmIdentifier, boolean, sequence<KeyUsage>)": {
156+
"status": "PASS"
157+
},
158+
"SubtleCrypto interface: operation exportKey(KeyFormat, CryptoKey)": {
159+
"status": "FAIL"
160+
},
161+
"SubtleCrypto interface: operation wrapKey(KeyFormat, CryptoKey, CryptoKey, AlgorithmIdentifier)": {
162+
"status": "FAIL"
163+
},
164+
"SubtleCrypto interface: operation unwrapKey(KeyFormat, BufferSource, CryptoKey, AlgorithmIdentifier, AlgorithmIdentifier, boolean, sequence<KeyUsage>)": {
165+
"status": "FAIL"
166+
},
167+
"SubtleCrypto must be primary interface of crypto.subtle": {
168+
"status": "PASS"
169+
},
170+
"Stringification of crypto.subtle": {
171+
"status": "PASS"
172+
},
173+
"SubtleCrypto interface: crypto.subtle must inherit property \"encrypt(AlgorithmIdentifier, CryptoKey, BufferSource)\" with the proper type": {
174+
"status": "FAIL"
175+
},
176+
"SubtleCrypto interface: calling encrypt(AlgorithmIdentifier, CryptoKey, BufferSource) on crypto.subtle with too few arguments must throw TypeError": {
177+
"status": "FAIL"
178+
},
179+
"SubtleCrypto interface: crypto.subtle must inherit property \"decrypt(AlgorithmIdentifier, CryptoKey, BufferSource)\" with the proper type": {
180+
"status": "FAIL"
181+
},
182+
"SubtleCrypto interface: calling decrypt(AlgorithmIdentifier, CryptoKey, BufferSource) on crypto.subtle with too few arguments must throw TypeError": {
183+
"status": "FAIL"
184+
},
185+
"SubtleCrypto interface: crypto.subtle must inherit property \"sign(AlgorithmIdentifier, CryptoKey, BufferSource)\" with the proper type": {
186+
"status": "PASS"
187+
},
188+
"SubtleCrypto interface: calling sign(AlgorithmIdentifier, CryptoKey, BufferSource) on crypto.subtle with too few arguments must throw TypeError": {
189+
"status": "PASS"
190+
},
191+
"SubtleCrypto interface: crypto.subtle must inherit property \"verify(AlgorithmIdentifier, CryptoKey, BufferSource, BufferSource)\" with the proper type": {
192+
"status": "PASS"
193+
},
194+
"SubtleCrypto interface: calling verify(AlgorithmIdentifier, CryptoKey, BufferSource, BufferSource) on crypto.subtle with too few arguments must throw TypeError": {
195+
"status": "PASS"
196+
},
197+
"SubtleCrypto interface: crypto.subtle must inherit property \"digest(AlgorithmIdentifier, BufferSource)\" with the proper type": {
198+
"status": "PASS"
199+
},
200+
"SubtleCrypto interface: calling digest(AlgorithmIdentifier, BufferSource) on crypto.subtle with too few arguments must throw TypeError": {
201+
"status": "PASS"
202+
},
203+
"SubtleCrypto interface: crypto.subtle must inherit property \"generateKey(AlgorithmIdentifier, boolean, sequence<KeyUsage>)\" with the proper type": {
204+
"status": "FAIL"
205+
},
206+
"SubtleCrypto interface: calling generateKey(AlgorithmIdentifier, boolean, sequence<KeyUsage>) on crypto.subtle with too few arguments must throw TypeError": {
207+
"status": "FAIL"
208+
},
209+
"SubtleCrypto interface: crypto.subtle must inherit property \"deriveKey(AlgorithmIdentifier, CryptoKey, AlgorithmIdentifier, boolean, sequence<KeyUsage>)\" with the proper type": {
210+
"status": "FAIL"
211+
},
212+
"SubtleCrypto interface: calling deriveKey(AlgorithmIdentifier, CryptoKey, AlgorithmIdentifier, boolean, sequence<KeyUsage>) on crypto.subtle with too few arguments must throw TypeError": {
213+
"status": "FAIL"
214+
},
215+
"SubtleCrypto interface: crypto.subtle must inherit property \"deriveBits(AlgorithmIdentifier, CryptoKey, optional unsigned long?)\" with the proper type": {
216+
"status": "FAIL"
217+
},
218+
"SubtleCrypto interface: calling deriveBits(AlgorithmIdentifier, CryptoKey, optional unsigned long?) on crypto.subtle with too few arguments must throw TypeError": {
219+
"status": "FAIL"
220+
},
221+
"SubtleCrypto interface: crypto.subtle must inherit property \"importKey(KeyFormat, (BufferSource or JsonWebKey), AlgorithmIdentifier, boolean, sequence<KeyUsage>)\" with the proper type": {
222+
"status": "PASS"
223+
},
224+
"SubtleCrypto interface: calling importKey(KeyFormat, (BufferSource or JsonWebKey), AlgorithmIdentifier, boolean, sequence<KeyUsage>) on crypto.subtle with too few arguments must throw TypeError": {
225+
"status": "PASS"
226+
},
227+
"SubtleCrypto interface: crypto.subtle must inherit property \"exportKey(KeyFormat, CryptoKey)\" with the proper type": {
228+
"status": "FAIL"
229+
},
230+
"SubtleCrypto interface: calling exportKey(KeyFormat, CryptoKey) on crypto.subtle with too few arguments must throw TypeError": {
231+
"status": "FAIL"
232+
},
233+
"SubtleCrypto interface: crypto.subtle must inherit property \"wrapKey(KeyFormat, CryptoKey, CryptoKey, AlgorithmIdentifier)\" with the proper type": {
234+
"status": "FAIL"
235+
},
236+
"SubtleCrypto interface: calling wrapKey(KeyFormat, CryptoKey, CryptoKey, AlgorithmIdentifier) on crypto.subtle with too few arguments must throw TypeError": {
237+
"status": "FAIL"
238+
},
239+
"SubtleCrypto interface: crypto.subtle must inherit property \"unwrapKey(KeyFormat, BufferSource, CryptoKey, AlgorithmIdentifier, AlgorithmIdentifier, boolean, sequence<KeyUsage>)\" with the proper type": {
240+
"status": "FAIL"
241+
},
242+
"SubtleCrypto interface: calling unwrapKey(KeyFormat, BufferSource, CryptoKey, AlgorithmIdentifier, AlgorithmIdentifier, boolean, sequence<KeyUsage>) on crypto.subtle with too few arguments must throw TypeError": {
243+
"status": "FAIL"
244+
},
245+
"Window interface: attribute crypto": {
246+
"status": "PASS"
4247
}
5248
}
Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,62 @@
11
{
22
"idl_test setup": {
3-
"status": "FAIL"
3+
"status": "PASS"
4+
},
5+
"idl_test validation": {
6+
"status": "PASS"
7+
},
8+
"CompressionStream includes GenericTransformStream: member names are unique": {
9+
"status": "PASS"
10+
},
11+
"DecompressionStream includes GenericTransformStream: member names are unique": {
12+
"status": "PASS"
13+
},
14+
"CompressionStream interface: existence and properties of interface object": {
15+
"status": "PASS"
16+
},
17+
"CompressionStream interface object length": {
18+
"status": "PASS"
19+
},
20+
"CompressionStream interface object name": {
21+
"status": "PASS"
22+
},
23+
"CompressionStream interface: existence and properties of interface prototype object": {
24+
"status": "PASS"
25+
},
26+
"CompressionStream interface: existence and properties of interface prototype object's \"constructor\" property": {
27+
"status": "PASS"
28+
},
29+
"CompressionStream interface: existence and properties of interface prototype object's @@unscopables property": {
30+
"status": "PASS"
31+
},
32+
"CompressionStream must be primary interface of new CompressionStream(\"deflate\")": {
33+
"status": "PASS"
34+
},
35+
"Stringification of new CompressionStream(\"deflate\")": {
36+
"status": "PASS"
37+
},
38+
"DecompressionStream interface: existence and properties of interface object": {
39+
"status": "PASS"
40+
},
41+
"DecompressionStream interface object length": {
42+
"status": "PASS"
43+
},
44+
"DecompressionStream interface object name": {
45+
"status": "PASS"
46+
},
47+
"DecompressionStream interface: existence and properties of interface prototype object": {
48+
"status": "PASS"
49+
},
50+
"DecompressionStream interface: existence and properties of interface prototype object's \"constructor\" property": {
51+
"status": "PASS"
52+
},
53+
"DecompressionStream interface: existence and properties of interface prototype object's @@unscopables property": {
54+
"status": "PASS"
55+
},
56+
"DecompressionStream must be primary interface of new DecompressionStream(\"deflate\")": {
57+
"status": "PASS"
58+
},
59+
"Stringification of new DecompressionStream(\"deflate\")": {
60+
"status": "PASS"
461
}
562
}

0 commit comments

Comments
 (0)