Lines Matching refs:extractable
52 function parameterString(algorithm, extractable, usages) { argument
59 objectToString(extractable) + ", " +
71 function testError(algorithm, extractable, usages, expectedError, testTag) { argument
73 return crypto.subtle.generateKey(algorithm, extractable, usages)
83 }, testTag + ": generateKey" + parameterString(algorithm, extractable, usages));
163 [false, true, "RED", 7].forEach(function(extractable){ argument
164 testError(algorithm, extractable, usages, "NotSupportedError", "Bad algorithm");
178 [true].forEach(function(extractable) { argument
179 testError(algorithm, extractable, usages, "SyntaxError", "Bad usages");
195 [false, true].forEach(function(extractable) { argument
197 … testError(algorithm, extractable, usages, "NotSupportedError", "Bad algorithm property");
199 … testError(algorithm, extractable, usages, "OperationError", "Bad algorithm property");
213 [false, true].forEach(function(extractable) { argument
214 testError(algorithm, extractable, usages, "SyntaxError", "Empty usages");