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

Side by Side Diff: LayoutTests/crypto/subtle/resources/subtle-crypto-concurrent.js

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 unified diff | Download patch
OLDNEW
1 if (self.importScripts) { 1 if (self.importScripts) {
2 importScripts('../../resources/js-test.js'); 2 importScripts('../../../resources/js-test.js');
3 importScripts('common.js'); 3 importScripts('common.js');
4 } 4 }
5 5
6 function shouldEvaluateAsSilent(expressionToEval, expectedResult) 6 function shouldEvaluateAsSilent(expressionToEval, expectedResult)
7 { 7 {
8 var result = eval(expressionToEval); 8 var result = eval(expressionToEval);
9 if (result !== expectedResult) { 9 if (result !== expectedResult) {
10 testFailed(expressionToEval + " evaluated to " + result + " instead of " + expectedResult); 10 testFailed(expressionToEval + " evaluated to " + result + " instead of " + expectedResult);
11 } 11 }
12 } 12 }
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 }); 178 });
179 } 179 }
180 180
181 Promise.all([ 181 Promise.all([
182 testHmac(), 182 testHmac(),
183 testGenerateRsaKey(), 183 testGenerateRsaKey(),
184 testAesGcm(), 184 testAesGcm(),
185 testHmac(), 185 testHmac(),
186 testAesGcm(), 186 testAesGcm(),
187 ]).then(notifySuccess, notifyFailure); 187 ]).then(notifySuccess, notifyFailure);
OLDNEW
« no previous file with comments | « LayoutTests/crypto/subtle/resources/keys.js ('k') | LayoutTests/crypto/subtle/resources/worker-infinite-loop-generateKey.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698