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

Unified Diff: LayoutTests/crypto/subtle/hkdf-exportKey.html

Issue 957713004: [WebCrypto] Split LayoutTests/crypto/subtle into per-algorithm directories (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated to latest master Created 5 years, 10 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: LayoutTests/crypto/subtle/hkdf-exportKey.html
diff --git a/LayoutTests/crypto/subtle/hkdf-exportKey.html b/LayoutTests/crypto/subtle/hkdf-exportKey.html
deleted file mode 100644
index 003c51c0850ef537fb0ced9bb7009a7316d3cdbe..0000000000000000000000000000000000000000
--- a/LayoutTests/crypto/subtle/hkdf-exportKey.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="../../resources/js-test.js"></script>
-<script src="resources/common.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-
-<script>
-description("Test that HKDF does not support exportKey().");
-
-jsTestIsAsync = true;
-
-kHkdfKey = "0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b";
-
-var extractable = true;
-Promise.resolve(null).then(function(result) {
- // set up the test by creating an HKDF key.
- return crypto.subtle.importKey("raw", hexStringToUint8Array(kHkdfKey), {name: "HKDF"}, extractable, ['deriveKey', 'deriveBits']);
-}).then(function(result) {
- hkdfKey = result;
-
- debug("\nCalling exportKey() on an HKDF key...");
- return crypto.subtle.exportKey("raw", hkdfKey);
-}).then(failAndFinishJSTest, function(result) {
- logError(result);
-}).then(finishJSTest);
-
-</script>
-
-</body>
-</html>
« no previous file with comments | « LayoutTests/crypto/subtle/hkdf-deriveKey-expected.txt ('k') | LayoutTests/crypto/subtle/hkdf-exportKey-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698