mirror of
https://github.com/servo/servo.git
synced 2025-09-27 07:10:19 +01:00
script: Enable crypto task source at task manager (#39453)
The Web Cryptography API has the "crypto task source" (https://w3c.github.io/webcrypto/#dfn-crypto-task-source-0) to queue tasks to resolve or reject promises created in response to calls to methods of `SubtleCrypto`. This patch enables this task source at the script task manager, and queue tasks on this task source from existing steps. A few WPT error expectations are also added to WPT meta. The related cryptographic algorithms have not yet implemented, so the errors are expected. I don't know why WPT test did not capture them before. Testing: Existing tests suffice. --------- Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>
This commit is contained in:
parent
da221d4045
commit
9d7b438d6b
7 changed files with 48 additions and 17 deletions
|
@ -50,6 +50,7 @@
|
|||
|
||||
|
||||
[cfrg_curves_bits_curve25519.https.any.worker.html]
|
||||
expected: ERROR
|
||||
[X25519 key derivation checks for all-zero value result with a key of order 0]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -47,6 +47,7 @@
|
|||
|
||||
|
||||
[cfrg_curves_bits_curve448.tentative.https.any.worker.html]
|
||||
expected: ERROR
|
||||
[X448 key derivation checks for all-zero value result with a key of order 0]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[cfrg_curves_keys_curve25519.https.any.worker.html]
|
||||
expected: ERROR
|
||||
[X25519 deriveBits checks for all-zero value result with a key of order 0]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[cfrg_curves_keys_curve448.tentative.https.any.worker.html]
|
||||
expected: ERROR
|
||||
[X448 deriveBits checks for all-zero value result with a key of order 0]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue