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

Unified Diff: LayoutTests/crypto/resources/random-values-limits.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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/crypto/resources/random-values-limits.js
diff --git a/LayoutTests/crypto/resources/random-values-limits.js b/LayoutTests/crypto/resources/random-values-limits.js
deleted file mode 100644
index 2881ba59f65af23aec73a1f3c24f06a0f95dcaf4..0000000000000000000000000000000000000000
--- a/LayoutTests/crypto/resources/random-values-limits.js
+++ /dev/null
@@ -1,22 +0,0 @@
-if (self.importScripts)
- importScripts('../../resources/js-test.js');
-
-description("Tests the limits of crypto.randomValues.");
-
-if (!self.ArrayBuffer)
- debug("This test requres ArrayBuffers to run!");
-
-shouldBe("'crypto' in self", "true");
-shouldBe("'getRandomValues' in self.crypto", "true");
-
-try {
- var almostTooLargeArray = new Uint8Array(65536);
- var tooLargeArray = new Uint8Array(65537);
-
- shouldNotThrow("crypto.getRandomValues(almostTooLargeArray)");
- shouldThrow("crypto.getRandomValues(tooLargeArray)");
-} catch(ex) {
- debug(ex);
-}
-
-finishJSTest();
« no previous file with comments | « LayoutTests/crypto/resources/random-values-concurrent.js ('k') | LayoutTests/crypto/resources/random-values-types.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698