summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/crypto/worker-random-values-limits-expected.txt
blob: b460b40ab8cd3a5d2163cf2618221c0eaad6ac1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Worker] Tests the limits of crypto.randomValues.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


Starting worker: resources/random-values-limits.js
PASS [Worker] 'crypto' in self is true
PASS [Worker] 'getRandomValues' in self.crypto is true
PASS [Worker] crypto.getRandomValues(almostTooLargeArray) did not throw exception.
PASS [Worker] crypto.getRandomValues(tooLargeArray) threw exception QuotaExceededError: Failed to execute 'getRandomValues' on 'Crypto': The ArrayBufferView's byte length (65537) exceeds the number of bytes of entropy available via this API (65536)..
PASS successfullyParsed is true

TEST COMPLETE