node/test/fixtures/wpt/WebCryptoAPI/util/worker-report-crypto-subtle...

4 lines
181 B
JavaScript

subtle_crypto_found = true;
if (typeof crypto.subtle === 'undefined') subtle_crypto_found = false;
postMessage({ msg_type: 'subtle_crypto_found', msg_value: subtle_crypto_found });