Skip to content

Commit 3deaadc

Browse files
authored
Auto merge of #29509 - servo:wpt_update_17-03-2023, r=servo-wpt-sync
Sync WPT with upstream (17-03-2023) Automated downstream sync of changes from upstream as of 17-03-2023 [no-wpt-sync] r? @servo-wpt-sync
2 parents a8da28e + 3b420af commit 3deaadc

File tree

393 files changed

+17363
-4064
lines changed

Some content is hidden

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

393 files changed

+17363
-4064
lines changed

tests/wpt/metadata-layout-2020/FileAPI/url/url-in-tags-revoke.window.js.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
expected: TIMEOUT
55

66
[Opening a blob URL in a new window immediately before revoking it works.]
7-
expected: FAIL
7+
expected: TIMEOUT
88

99
[Fetching a blob URL immediately before revoking it works in an iframe.]
1010
expected: FAIL

tests/wpt/metadata-layout-2020/WebCryptoAPI/derive_bits_keys/cfrg_curves_bits.https.any.js.ini

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,73 @@
22
[setup - define tests]
33
expected: FAIL
44

5+
[X25519 key derivation checks for all-zero value result with a key of order 0]
6+
expected: FAIL
7+
8+
[X25519 key derivation checks for all-zero value result with a key of order 1]
9+
expected: FAIL
10+
11+
[X25519 key derivation checks for all-zero value result with a key of order 8]
12+
expected: FAIL
13+
14+
[X25519 key derivation checks for all-zero value result with a key of order p-1 (order 2)]
15+
expected: FAIL
16+
17+
[X25519 key derivation checks for all-zero value result with a key of order p (=0, order 4)]
18+
expected: FAIL
19+
20+
[X25519 key derivation checks for all-zero value result with a key of order p+1 (=1, order 1)]
21+
expected: FAIL
22+
23+
[X448 key derivation checks for all-zero value result with a key of order 0]
24+
expected: FAIL
25+
26+
[X448 key derivation checks for all-zero value result with a key of order 1]
27+
expected: FAIL
28+
29+
[X448 key derivation checks for all-zero value result with a key of order p-1 (order 2)]
30+
expected: FAIL
31+
32+
[X448 key derivation checks for all-zero value result with a key of order p (=0, order 4)]
33+
expected: FAIL
34+
35+
[X448 key derivation checks for all-zero value result with a key of order p+1 (=1, order 1)]
36+
expected: FAIL
37+
538

639
[cfrg_curves_bits.https.any.worker.html]
740
[setup - define tests]
841
expected: FAIL
42+
43+
[X25519 key derivation checks for all-zero value result with a key of order 0]
44+
expected: FAIL
45+
46+
[X25519 key derivation checks for all-zero value result with a key of order 1]
47+
expected: FAIL
48+
49+
[X25519 key derivation checks for all-zero value result with a key of order 8]
50+
expected: FAIL
51+
52+
[X25519 key derivation checks for all-zero value result with a key of order p-1 (order 2)]
53+
expected: FAIL
54+
55+
[X25519 key derivation checks for all-zero value result with a key of order p (=0, order 4)]
56+
expected: FAIL
57+
58+
[X25519 key derivation checks for all-zero value result with a key of order p+1 (=1, order 1)]
59+
expected: FAIL
60+
61+
[X448 key derivation checks for all-zero value result with a key of order 0]
62+
expected: FAIL
63+
64+
[X448 key derivation checks for all-zero value result with a key of order 1]
65+
expected: FAIL
66+
67+
[X448 key derivation checks for all-zero value result with a key of order p-1 (order 2)]
68+
expected: FAIL
69+
70+
[X448 key derivation checks for all-zero value result with a key of order p (=0, order 4)]
71+
expected: FAIL
72+
73+
[X448 key derivation checks for all-zero value result with a key of order p+1 (=1, order 1)]
74+
expected: FAIL

tests/wpt/metadata-layout-2020/WebCryptoAPI/derive_bits_keys/cfrg_curves_keys.https.any.js.ini

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,19 @@
22
[setup - define tests]
33
expected: FAIL
44

5+
[Key derivation using a X25519 generated keys.]
6+
expected: FAIL
7+
8+
[Key derivation using a X448 generated keys.]
9+
expected: FAIL
10+
511

612
[cfrg_curves_keys.https.any.html]
713
[setup - define tests]
814
expected: FAIL
15+
16+
[Key derivation using a X25519 generated keys.]
17+
expected: FAIL
18+
19+
[Key derivation using a X448 generated keys.]
20+
expected: FAIL

tests/wpt/metadata-layout-2020/WebCryptoAPI/import_export/okp_importKey_failures_Ed25519.https.any.js.ini

Lines changed: 276 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,144 @@
593593
[Invalid key pair: importKey(jwk(private), {name: Ed25519}, true, [sign, sign\])]
594594
expected: FAIL
595595

596+
[Bad usages: importKey(raw, {name: Ed25519}, true, [encrypt\])]
597+
expected: FAIL
598+
599+
[Bad usages: importKey(raw, {name: Ed25519}, false, [encrypt\])]
600+
expected: FAIL
601+
602+
[Bad usages: importKey(raw, {name: Ed25519}, true, [verify, encrypt\])]
603+
expected: FAIL
604+
605+
[Bad usages: importKey(raw, {name: Ed25519}, false, [verify, encrypt\])]
606+
expected: FAIL
607+
608+
[Bad usages: importKey(raw, {name: Ed25519}, true, [verify, verify, encrypt\])]
609+
expected: FAIL
610+
611+
[Bad usages: importKey(raw, {name: Ed25519}, false, [verify, verify, encrypt\])]
612+
expected: FAIL
613+
614+
[Bad usages: importKey(raw, {name: Ed25519}, true, [decrypt\])]
615+
expected: FAIL
616+
617+
[Bad usages: importKey(raw, {name: Ed25519}, false, [decrypt\])]
618+
expected: FAIL
619+
620+
[Bad usages: importKey(raw, {name: Ed25519}, true, [verify, decrypt\])]
621+
expected: FAIL
622+
623+
[Bad usages: importKey(raw, {name: Ed25519}, false, [verify, decrypt\])]
624+
expected: FAIL
625+
626+
[Bad usages: importKey(raw, {name: Ed25519}, true, [verify, verify, decrypt\])]
627+
expected: FAIL
628+
629+
[Bad usages: importKey(raw, {name: Ed25519}, false, [verify, verify, decrypt\])]
630+
expected: FAIL
631+
632+
[Bad usages: importKey(raw, {name: Ed25519}, true, [sign\])]
633+
expected: FAIL
634+
635+
[Bad usages: importKey(raw, {name: Ed25519}, false, [sign\])]
636+
expected: FAIL
637+
638+
[Bad usages: importKey(raw, {name: Ed25519}, true, [verify, sign\])]
639+
expected: FAIL
640+
641+
[Bad usages: importKey(raw, {name: Ed25519}, false, [verify, sign\])]
642+
expected: FAIL
643+
644+
[Bad usages: importKey(raw, {name: Ed25519}, true, [verify, verify, sign\])]
645+
expected: FAIL
646+
647+
[Bad usages: importKey(raw, {name: Ed25519}, false, [verify, verify, sign\])]
648+
expected: FAIL
649+
650+
[Bad usages: importKey(raw, {name: Ed25519}, true, [wrapKey\])]
651+
expected: FAIL
652+
653+
[Bad usages: importKey(raw, {name: Ed25519}, false, [wrapKey\])]
654+
expected: FAIL
655+
656+
[Bad usages: importKey(raw, {name: Ed25519}, true, [verify, wrapKey\])]
657+
expected: FAIL
658+
659+
[Bad usages: importKey(raw, {name: Ed25519}, false, [verify, wrapKey\])]
660+
expected: FAIL
661+
662+
[Bad usages: importKey(raw, {name: Ed25519}, true, [verify, verify, wrapKey\])]
663+
expected: FAIL
664+
665+
[Bad usages: importKey(raw, {name: Ed25519}, false, [verify, verify, wrapKey\])]
666+
expected: FAIL
667+
668+
[Bad usages: importKey(raw, {name: Ed25519}, true, [unwrapKey\])]
669+
expected: FAIL
670+
671+
[Bad usages: importKey(raw, {name: Ed25519}, false, [unwrapKey\])]
672+
expected: FAIL
673+
674+
[Bad usages: importKey(raw, {name: Ed25519}, true, [verify, unwrapKey\])]
675+
expected: FAIL
676+
677+
[Bad usages: importKey(raw, {name: Ed25519}, false, [verify, unwrapKey\])]
678+
expected: FAIL
679+
680+
[Bad usages: importKey(raw, {name: Ed25519}, true, [verify, verify, unwrapKey\])]
681+
expected: FAIL
682+
683+
[Bad usages: importKey(raw, {name: Ed25519}, false, [verify, verify, unwrapKey\])]
684+
expected: FAIL
685+
686+
[Bad usages: importKey(raw, {name: Ed25519}, true, [deriveKey\])]
687+
expected: FAIL
688+
689+
[Bad usages: importKey(raw, {name: Ed25519}, false, [deriveKey\])]
690+
expected: FAIL
691+
692+
[Bad usages: importKey(raw, {name: Ed25519}, true, [verify, deriveKey\])]
693+
expected: FAIL
694+
695+
[Bad usages: importKey(raw, {name: Ed25519}, false, [verify, deriveKey\])]
696+
expected: FAIL
697+
698+
[Bad usages: importKey(raw, {name: Ed25519}, true, [verify, verify, deriveKey\])]
699+
expected: FAIL
700+
701+
[Bad usages: importKey(raw, {name: Ed25519}, false, [verify, verify, deriveKey\])]
702+
expected: FAIL
703+
704+
[Bad usages: importKey(raw, {name: Ed25519}, true, [deriveBits\])]
705+
expected: FAIL
706+
707+
[Bad usages: importKey(raw, {name: Ed25519}, false, [deriveBits\])]
708+
expected: FAIL
709+
710+
[Bad usages: importKey(raw, {name: Ed25519}, true, [verify, deriveBits\])]
711+
expected: FAIL
712+
713+
[Bad usages: importKey(raw, {name: Ed25519}, false, [verify, deriveBits\])]
714+
expected: FAIL
715+
716+
[Bad usages: importKey(raw, {name: Ed25519}, true, [verify, verify, deriveBits\])]
717+
expected: FAIL
718+
719+
[Bad usages: importKey(raw, {name: Ed25519}, false, [verify, verify, deriveBits\])]
720+
expected: FAIL
721+
722+
[Bad key length: importKey(raw, {name: Ed25519}, true, [verify\])]
723+
expected: FAIL
724+
725+
[Bad key length: importKey(raw, {name: Ed25519}, false, [verify\])]
726+
expected: FAIL
727+
728+
[Bad key length: importKey(raw, {name: Ed25519}, true, [verify, verify\])]
729+
expected: FAIL
730+
731+
[Bad key length: importKey(raw, {name: Ed25519}, false, [verify, verify\])]
732+
expected: FAIL
733+
596734

597735
[okp_importKey_failures_Ed25519.https.any.html]
598736
[Bad usages: importKey(spki, {name: Ed25519}, true, [encrypt\])]
@@ -1188,3 +1326,141 @@
11881326

11891327
[Invalid key pair: importKey(jwk(private), {name: Ed25519}, true, [sign, sign\])]
11901328
expected: FAIL
1329+
1330+
[Bad usages: importKey(raw, {name: Ed25519}, true, [encrypt\])]
1331+
expected: FAIL
1332+
1333+
[Bad usages: importKey(raw, {name: Ed25519}, false, [encrypt\])]
1334+
expected: FAIL
1335+
1336+
[Bad usages: importKey(raw, {name: Ed25519}, true, [verify, encrypt\])]
1337+
expected: FAIL
1338+
1339+
[Bad usages: importKey(raw, {name: Ed25519}, false, [verify, encrypt\])]
1340+
expected: FAIL
1341+
1342+
[Bad usages: importKey(raw, {name: Ed25519}, true, [verify, verify, encrypt\])]
1343+
expected: FAIL
1344+
1345+
[Bad usages: importKey(raw, {name: Ed25519}, false, [verify, verify, encrypt\])]
1346+
expected: FAIL
1347+
1348+
[Bad usages: importKey(raw, {name: Ed25519}, true, [decrypt\])]
1349+
expected: FAIL
1350+
1351+
[Bad usages: importKey(raw, {name: Ed25519}, false, [decrypt\])]
1352+
expected: FAIL
1353+
1354+
[Bad usages: importKey(raw, {name: Ed25519}, true, [verify, decrypt\])]
1355+
expected: FAIL
1356+
1357+
[Bad usages: importKey(raw, {name: Ed25519}, false, [verify, decrypt\])]
1358+
expected: FAIL
1359+
1360+
[Bad usages: importKey(raw, {name: Ed25519}, true, [verify, verify, decrypt\])]
1361+
expected: FAIL
1362+
1363+
[Bad usages: importKey(raw, {name: Ed25519}, false, [verify, verify, decrypt\])]
1364+
expected: FAIL
1365+
1366+
[Bad usages: importKey(raw, {name: Ed25519}, true, [sign\])]
1367+
expected: FAIL
1368+
1369+
[Bad usages: importKey(raw, {name: Ed25519}, false, [sign\])]
1370+
expected: FAIL
1371+
1372+
[Bad usages: importKey(raw, {name: Ed25519}, true, [verify, sign\])]
1373+
expected: FAIL
1374+
1375+
[Bad usages: importKey(raw, {name: Ed25519}, false, [verify, sign\])]
1376+
expected: FAIL
1377+
1378+
[Bad usages: importKey(raw, {name: Ed25519}, true, [verify, verify, sign\])]
1379+
expected: FAIL
1380+
1381+
[Bad usages: importKey(raw, {name: Ed25519}, false, [verify, verify, sign\])]
1382+
expected: FAIL
1383+
1384+
[Bad usages: importKey(raw, {name: Ed25519}, true, [wrapKey\])]
1385+
expected: FAIL
1386+
1387+
[Bad usages: importKey(raw, {name: Ed25519}, false, [wrapKey\])]
1388+
expected: FAIL
1389+
1390+
[Bad usages: importKey(raw, {name: Ed25519}, true, [verify, wrapKey\])]
1391+
expected: FAIL
1392+
1393+
[Bad usages: importKey(raw, {name: Ed25519}, false, [verify, wrapKey\])]
1394+
expected: FAIL
1395+
1396+
[Bad usages: importKey(raw, {name: Ed25519}, true, [verify, verify, wrapKey\])]
1397+
expected: FAIL
1398+
1399+
[Bad usages: importKey(raw, {name: Ed25519}, false, [verify, verify, wrapKey\])]
1400+
expected: FAIL
1401+
1402+
[Bad usages: importKey(raw, {name: Ed25519}, true, [unwrapKey\])]
1403+
expected: FAIL
1404+
1405+
[Bad usages: importKey(raw, {name: Ed25519}, false, [unwrapKey\])]
1406+
expected: FAIL
1407+
1408+
[Bad usages: importKey(raw, {name: Ed25519}, true, [verify, unwrapKey\])]
1409+
expected: FAIL
1410+
1411+
[Bad usages: importKey(raw, {name: Ed25519}, false, [verify, unwrapKey\])]
1412+
expected: FAIL
1413+
1414+
[Bad usages: importKey(raw, {name: Ed25519}, true, [verify, verify, unwrapKey\])]
1415+
expected: FAIL
1416+
1417+
[Bad usages: importKey(raw, {name: Ed25519}, false, [verify, verify, unwrapKey\])]
1418+
expected: FAIL
1419+
1420+
[Bad usages: importKey(raw, {name: Ed25519}, true, [deriveKey\])]
1421+
expected: FAIL
1422+
1423+
[Bad usages: importKey(raw, {name: Ed25519}, false, [deriveKey\])]
1424+
expected: FAIL
1425+
1426+
[Bad usages: importKey(raw, {name: Ed25519}, true, [verify, deriveKey\])]
1427+
expected: FAIL
1428+
1429+
[Bad usages: importKey(raw, {name: Ed25519}, false, [verify, deriveKey\])]
1430+
expected: FAIL
1431+
1432+
[Bad usages: importKey(raw, {name: Ed25519}, true, [verify, verify, deriveKey\])]
1433+
expected: FAIL
1434+
1435+
[Bad usages: importKey(raw, {name: Ed25519}, false, [verify, verify, deriveKey\])]
1436+
expected: FAIL
1437+
1438+
[Bad usages: importKey(raw, {name: Ed25519}, true, [deriveBits\])]
1439+
expected: FAIL
1440+
1441+
[Bad usages: importKey(raw, {name: Ed25519}, false, [deriveBits\])]
1442+
expected: FAIL
1443+
1444+
[Bad usages: importKey(raw, {name: Ed25519}, true, [verify, deriveBits\])]
1445+
expected: FAIL
1446+
1447+
[Bad usages: importKey(raw, {name: Ed25519}, false, [verify, deriveBits\])]
1448+
expected: FAIL
1449+
1450+
[Bad usages: importKey(raw, {name: Ed25519}, true, [verify, verify, deriveBits\])]
1451+
expected: FAIL
1452+
1453+
[Bad usages: importKey(raw, {name: Ed25519}, false, [verify, verify, deriveBits\])]
1454+
expected: FAIL
1455+
1456+
[Bad key length: importKey(raw, {name: Ed25519}, true, [verify\])]
1457+
expected: FAIL
1458+
1459+
[Bad key length: importKey(raw, {name: Ed25519}, false, [verify\])]
1460+
expected: FAIL
1461+
1462+
[Bad key length: importKey(raw, {name: Ed25519}, true, [verify, verify\])]
1463+
expected: FAIL
1464+
1465+
[Bad key length: importKey(raw, {name: Ed25519}, false, [verify, verify\])]
1466+
expected: FAIL

0 commit comments

Comments
 (0)