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

Unified Diff: LayoutTests/crypto/rsa-oaep-generate-non-extractable-key.html

Issue 757813002: [webcrypto] Add key usage to rsa-oaep generate key test (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/rsa-oaep-generate-non-extractable-key.html
diff --git a/LayoutTests/crypto/rsa-oaep-generate-non-extractable-key.html b/LayoutTests/crypto/rsa-oaep-generate-non-extractable-key.html
index a6d048bcd2a40c8e9cb28901b69e78c84e1e30cc..0566e948dfca9270eb18e7a3f54d3c335b421480 100644
--- a/LayoutTests/crypto/rsa-oaep-generate-non-extractable-key.html
+++ b/LayoutTests/crypto/rsa-oaep-generate-non-extractable-key.html
@@ -23,7 +23,7 @@ var algorithmKeyGen = {
var nonExtractable = false;
debug("Generating a key pair...");
-crypto.subtle.generateKey(algorithmKeyGen, nonExtractable, []).then(function(result) {
+crypto.subtle.generateKey(algorithmKeyGen, nonExtractable, ['decrypt']).then(function(result) {
keyPair = result;
shouldBe("keyPair.toString()", "'[object Object]'");
shouldBe("keyPair.publicKey.type", "'public'");
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698