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

Side by Side Diff: LayoutTests/crypto/subtle/aes-kw/cloneKey.html

Issue 958353003: [WebCrypto] Move cloneKey test to respective algorithm directory (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../../resources/js-test.js"></script>
5 <script src="../resources/common.js"></script>
6 <script src="../resources/symmetric-cloneKey.js"></script>
7 </head>
8 <body>
9 <script>
10 description('Tests structured cloning of AES-KW keys');
11
12 jsTestIsAsync = true;
13
14 var k128BitData = "30112233445566778899aabbccddeeff";
15 var k256BitData = "00112233445546778899aabbccddeeff000102030405060708090a0b0c0d0 e0f";
16
17 var kPossibleExtractable = [true, false];
18 var kPossibleKeyUsage = [['wrapKey', 'unwrapKey']];
19 var kKeyData = [k128BitData, k256BitData];
20 var kKeyHasLength = true;
21
22 testCloneSymmetricKeys('AES-KW', [[]], kPossibleExtractable, kPossibleKeyUsage, kKeyData, kKeyHasLength).then(finishJSTest, failAndFinishJSTest);
23
24 </script>
25 </body>
26 </html>
OLDNEW
« no previous file with comments | « LayoutTests/crypto/subtle/aes-gcm/cloneKey-expected.txt ('k') | LayoutTests/crypto/subtle/aes-kw/cloneKey-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698