Return cached object from CryptoKey.algorithm getter (#34092)

* Return cached object from CryptoKey.algorithm getter

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Test that CryptoKey.algorithm returns a cached object

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Move duplicated code into a helper function

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

---------

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
Simon Wülker 2024-11-04 18:49:01 +01:00 committed by GitHub
parent f6aaf82b9b
commit 73d2f3c453
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 142 additions and 49 deletions

View file

@ -514622,6 +514622,31 @@
}
]
],
"cryptokey_algorithm_returns_cached_object.https.any.js": [
"b2d73fbab78d64fa7e523adb579636d6295ee81a",
[
"WebCryptoAPI/cryptokey_algorithm_returns_cached_object.https.any.html",
{
"script_metadata": [
[
"title",
"WebCryptoAPI: CryptoKey.algorithm getter returns cached object"
]
]
}
],
[
"WebCryptoAPI/cryptokey_algorithm_returns_cached_object.https.any.worker.html",
{
"script_metadata": [
[
"title",
"WebCryptoAPI: CryptoKey.algorithm getter returns cached object"
]
]
}
]
],
"derive_bits_keys": {
"cfrg_curves_bits_curve25519.https.any.js": [
"866192e0193bc18953c224647ac51f2bb373746f",