mirror of
https://github.com/servo/servo.git
synced 2025-09-17 02:18:23 +01:00
The WebCryptoAPI spec requires that when we generate crypto keys by the generateKey method of SubtleCrypto interface we have to check whether the usages is empty. If the usages is empty, throw a SyntaxError. FYI, Step 9 of https://w3c.github.io/webcrypto/#SubtleCrypto-method-generateKey We have not yet implemented this logic, and this patch implements it. Testing: Pass WPT tests that were expected to fail. --------- Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev> |
||
---|---|---|
.. | ||
failures_ECDH.https.any.js.ini | ||
failures_ECDSA.https.any.js.ini | ||
failures_Ed448.tentative.https.any.js.ini | ||
failures_Ed25519.https.any.js.ini | ||
failures_RSA-OAEP.https.any.js.ini | ||
failures_RSA-PSS.https.any.js.ini | ||
failures_RSASSA-PKCS1-v1_5.https.any.js.ini | ||
failures_X448.tentative.https.any.js.ini | ||
failures_X25519.https.any.js.ini | ||
successes_ECDH.https.any.js.ini | ||
successes_ECDSA.https.any.js.ini | ||
successes_Ed448.tentative.https.any.js.ini | ||
successes_Ed25519.https.any.js.ini | ||
successes_HMAC.https.any.js.ini | ||
successes_RSA-OAEP.https.any.js.ini | ||
successes_RSA-PSS.https.any.js.ini | ||
successes_RSASSA-PKCS1-v1_5.https.any.js.ini | ||
successes_X448.tentative.https.any.js.ini | ||
successes_X25519.https.any.js.ini |