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

Unified Diff: LayoutTests/crypto/subtle/hmac/sign-verify.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/hmac/sign-verify.html
diff --git a/LayoutTests/crypto/subtle/hmac-sign-verify.html b/LayoutTests/crypto/subtle/hmac/sign-verify.html
similarity index 98%
rename from LayoutTests/crypto/subtle/hmac-sign-verify.html
rename to LayoutTests/crypto/subtle/hmac/sign-verify.html
index 9ff1dd872fb76e14414636cb8f5292ca1561a6d1..49f4d51e52aa6e34427f4df8c69b5a06e879a8ab 100644
--- a/LayoutTests/crypto/subtle/hmac-sign-verify.html
+++ b/LayoutTests/crypto/subtle/hmac/sign-verify.html
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../resources/js-test.js"></script>
-<script src="resources/common.js"></script>
+<script src="../../../resources/js-test.js"></script>
+<script src="../resources/common.js"></script>
</head>
<body>
<p id="description"></p>
@@ -92,7 +92,7 @@ function runTest(testCase, useArrayBufferForSignature, useArrayBufferForData)
// (1) Import the key
return crypto.subtle.importKey('raw', keyData, importAlgorithm, extractable, usages).then(function(result) {
key = result;
-
+
// shouldBe() can only resolve variables in global context.
tmpKey = key;
shouldEvaluateAs("tmpKey.type", "secret");
« no previous file with comments | « LayoutTests/crypto/subtle/hmac/legacy-empty-key-expected.txt ('k') | LayoutTests/crypto/subtle/hmac/sign-verify-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698