| Index: LayoutTests/crypto/crypto-random-values-limits.html
|
| diff --git a/LayoutTests/crypto/crypto-random-values-limits.html b/LayoutTests/crypto/crypto-random-values-limits.html
|
| deleted file mode 100644
|
| index cc504955bec73d83df2316b5b0a46b20ceb4deab..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/crypto/crypto-random-values-limits.html
|
| +++ /dev/null
|
| @@ -1,33 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<html>
|
| -<head>
|
| -<script src="../fast/js/resources/js-test-pre.js"></script>
|
| -</head>
|
| -<body>
|
| -<p id="description"></p>
|
| -<div id="console"></div>
|
| -<script>
|
| -description("Tests the limits of crypto.randomValues.");
|
| -
|
| -if (!window.ArrayBuffer)
|
| - debug("This test requres ArrayBuffers to run!");
|
| -
|
| -shouldBe("'crypto' in window", "true");
|
| -shouldBe("'getRandomValues' in window.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);
|
| -}
|
| -
|
| -</script>
|
| -<script src="../fast/js/resources/js-test-post.js"></script>
|
| -</body>
|
| -</html>
|
| -
|
| -
|
|
|