Skip to content

Commit 2c87296

Browse files
committed
[WebCrypto] Make serialization tests global-agnostic
Use MessageChannel.postMessage() instead of 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. Signed-off-by: Filip Skokan <panva.ip@gmail.com>
1 parent ab4d039 commit 2c87296

21 files changed

Lines changed: 21 additions & 30 deletions
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

WebCryptoAPI/serialization/aes-ocb.tentative.https.window.js renamed to WebCryptoAPI/serialization/aes-ocb.tentative.https.any.js

File renamed without changes.

WebCryptoAPI/serialization/chacha20-poly1305.tentative.https.window.js renamed to WebCryptoAPI/serialization/chacha20-poly1305.tentative.https.any.js

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)