Automatic update from web-platform-tests [WebCrypto] Make serialization tests global-agnostic (#59939) Use structuredClone() instead of postMessage() to a popup window for CryptoKey serialization round trips. This keeps the structured clone coverage while allowing the tests to run in server runtimes. Rename the tests from .https.window.js to .https.any.js, mark the Ed448 and X448 cases as tentative, and remove the unused popup page. -- wpt-commits: 9c77781e3f78e199a99a159081c47d10c22db917 wpt-pr: 59939
13 lines
294 B
JavaScript
13 lines
294 B
JavaScript
// META: title=WebCryptoAPI: CryptoKey serialization
|
|
// META: script=../util/helpers.js
|
|
// META: script=serialization.js
|
|
run_test([
|
|
{
|
|
name: 'RSASSA-PKCS1-v1_5',
|
|
resultType: 'CryptoKeyPair',
|
|
usages: ['sign', 'verify'],
|
|
publicFormat: 'spki',
|
|
privateFormat: 'pkcs8'
|
|
},
|
|
]);
|