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

Unified Diff: LayoutTests/crypto/abandon-crypto-operation.html

Issue 806913006: [WebCrypto] Move LayoutTests from crypto to crypto/subtle (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update path for deserialize legacy tests Created 6 years 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 | « LayoutTests/TestExpectations ('k') | LayoutTests/crypto/abandon-crypto-operation-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/abandon-crypto-operation.html
diff --git a/LayoutTests/crypto/abandon-crypto-operation.html b/LayoutTests/crypto/abandon-crypto-operation.html
deleted file mode 100644
index 49b9b3fd2e116378143cdf224ca4945f3e82f1c1..0000000000000000000000000000000000000000
--- a/LayoutTests/crypto/abandon-crypto-operation.html
+++ /dev/null
@@ -1,42 +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("Tests abandoning a crypto operation.");
-
- // This test starts up a couple worker threads, which continuously generate
- // RSA keys. It waits until each of the worker threads have started
- // running, and then exits.
- //
- // The consequence is that once the test finishes, there should be
- // outstanding crypto operations on the worker threads. This will exercise
- // the cancellation/abandonment logic for these Promises.
-
- jsTestIsAsync = true;
-
- var allPromises = [];
-
- var kNumWorkers = 3;
-
- for (var i = 0; i < kNumWorkers; ++i) {
- allPromises.push(new Promise(function(resolve, reject) {
- var worker = new Worker("resources/worker-infinite-loop-generateKey.js");
- worker.onmessage = function(event)
- {
- debug(event.data);
- resolve();
- };
- }));
- }
-
- Promise.all(allPromises).then(finishJSTest);
-</script>
-</body>
-</html>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/crypto/abandon-crypto-operation-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698