MCPcopy Index your code
hub / github.com/nodejs/node / test-webcrypto-cryptokey-clone-transfer.js

File test-webcrypto-cryptokey-clone-transfer.js

test/parallel/test-webcrypto-cryptokey-clone-transfer.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1'use strict';
2
3// Tests that CryptoKey instances can be structured-cloned (same-realm
4// via `structuredClone`, cross-realm via `MessagePort.postMessage` and

Callers

nothing calls this directly

Calls 12

checkHmacKeyFunction · 0.85
checkTransferToWorkerFunction · 0.85
structuredCloneFunction · 0.85
assertSameCryptoKeyFunction · 0.85
checkAsymmetricKeyPairFunction · 0.85
encryptMethod · 0.80
requireFunction · 0.50
skipMethod · 0.45
thenMethod · 0.45
fromMethod · 0.45

Tested by

no test coverage detected