Index: third_party/WebKit/LayoutTests/external/wpt/WebCryptoAPI/util/worker-report-crypto-subtle-presence.js |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/WebCryptoAPI/util/worker-report-crypto-subtle-presence.js b/third_party/WebKit/LayoutTests/external/wpt/WebCryptoAPI/util/worker-report-crypto-subtle-presence.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..22cca7b6236f1502abbaec6e2952caf09c7269d2 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/external/wpt/WebCryptoAPI/util/worker-report-crypto-subtle-presence.js |
@@ -0,0 +1,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 }); |