Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(405)

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/WebCryptoAPI/util/worker-report-crypto-subtle-presence.js

Issue 2838603002: Added [SecureContext] to the subtle attribute (Closed)
Patch Set: Added https version of idlharness test Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 });

Powered by Google App Engine
This is Rietveld 408576698