PR-URL: https://github.com/nodejs/node/pull/39648 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
3 lines
181 B
JavaScript
3 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 });
|