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

Side by Side Diff: LayoutTests/crypto/wrap-unwrap.html

Issue 206483010: [webcrypto] Refactor some layout tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/crypto/sign-verify.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../resources/js-test.js"></script> 4 <script src="../resources/js-test.js"></script>
5 <script src="resources/common.js"></script> 5 <script src="resources/common.js"></script>
6 <script src="resources/keys.js"></script>
6 </head> 7 </head>
7 <body> 8 <body>
8 <p id="description"></p> 9 <p id="description"></p>
9 <div id="console"></div> 10 <div id="console"></div>
10 11
11 <script> 12 <script>
12 description("Tests cypto.subtle.sign and crypto.subtle.verify"); 13 description("Tests cypto.subtle.sign and crypto.subtle.verify");
13 14
14 // FIXME: This is only testing invalid parameters right now. Once the 15 // FIXME: This is only testing invalid parameters right now. Once the
15 // chromium-side implements the algorithms more interesting tests should be 16 // chromium-side implements the algorithms more interesting tests should be
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 92
92 // Mismatch between the unwrappingKey's algorithm and unwrapAlgorithm. 93 // Mismatch between the unwrappingKey's algorithm and unwrapAlgorithm.
93 shouldRejectPromiseWithNull("crypto.subtle.unwrapKey('raw', wrappedKey, unwr appingKey, aesCtrAlgorithm, unwrappedKeyAlgorithm, extractable, keyUsages)"); 94 shouldRejectPromiseWithNull("crypto.subtle.unwrapKey('raw', wrappedKey, unwr appingKey, aesCtrAlgorithm, unwrappedKeyAlgorithm, extractable, keyUsages)");
94 95
95 }).then(finishJSTest, failAndFinishJSTest); 96 }).then(finishJSTest, failAndFinishJSTest);
96 97
97 98
98 </script> 99 </script>
99 100
100 </body> 101 </body>
OLDNEW
« no previous file with comments | « LayoutTests/crypto/sign-verify.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698