mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
Tests: Re-import WebCryptoAPI tests
Some test have changed name and some utilities have now expanded to accommodate new algorithms.
This commit is contained in:
committed by
Jelle Raaijmakers
parent
8a79792a58
commit
aa44d254a4
Notes:
github-actions[bot]
2025-12-10 20:30:16 +00:00
Author: https://github.com/tete17 Commit: https://github.com/LadybirdBrowser/ladybird/commit/aa44d254a46 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6935 Reviewed-by: https://github.com/R-Goc Reviewed-by: https://github.com/gmta ✅
@@ -284,7 +284,7 @@ function run_test() {
|
||||
resolve(vector);
|
||||
});
|
||||
} else {
|
||||
return subtle.importKey("raw", vector.keyBuffer, {name: vector.algorithm.name}, false, usages)
|
||||
return subtle.importKey(vector.algorithm.name.toUpperCase() === "AES-OCB" ? "raw-secret" : "raw", vector.keyBuffer, {name: vector.algorithm.name}, false, usages)
|
||||
.then(function(key) {
|
||||
vector.key = key;
|
||||
return vector;
|
||||
|
||||
Reference in New Issue
Block a user