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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/WebCryptoAPI/generateKey/successes.js

Issue 2838603002: Added [SecureContext] to the subtle attribute (Closed)
Patch Set: Magic test starts doing differnt things out of the blue. Need to handle this properly. Avada Kedavr… 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/generateKey/successes.js
diff --git a/third_party/WebKit/LayoutTests/external/wpt/WebCryptoAPI/generateKey/successes.js b/third_party/WebKit/LayoutTests/external/wpt/WebCryptoAPI/generateKey/successes.js
index db4aae085deaecc412efefba8169d563a29dd072..6a74c01ddde4fd4a10fd8144d582e77fda76713f 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/WebCryptoAPI/generateKey/successes.js
+++ b/third_party/WebKit/LayoutTests/external/wpt/WebCryptoAPI/generateKey/successes.js
@@ -1,5 +1,5 @@
-function run_test(algorithmNames) {
+function run_test(algorithmNames, slowTest) {
var subtle = crypto.subtle; // Change to test prefixed implementations
setup({explicit_timeout: true});
@@ -74,7 +74,7 @@ function run_test(algorithmNames) {
// Test all valid sets of parameters for successful
// key generation.
testVectors.forEach(function(vector) {
- allNameVariants(vector.name).forEach(function(name) {
+ allNameVariants(vector.name, slowTest).forEach(function(name) {
allAlgorithmSpecifiersFor(name).forEach(function(algorithm) {
allValidUsages(vector.usages, false, vector.mandatoryUsages).forEach(function(usages) {
[false, true].forEach(function(extractable) {

Powered by Google App Engine
This is Rietveld 408576698