summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/WebCryptoAPI/util/worker-report-crypto-subtle-presence.js
blob: 22cca7b6236f1502abbaec6e2952caf09c7269d2 (plain)
1
2
3
subtle_crypto_found = true;
if (typeof crypto.subtle === 'undefined') subtle_crypto_found = false;
postMessage({ msg_type: 'subtle_crypto_found', msg_value: subtle_crypto_found });