crypto-random-values-limits-expected.txt 433 Bytes
Newer Older
1 2 3 4 5 6 7
Tests the limits of crypto.randomValues.

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


PASS 'crypto' in window is true
PASS 'getRandomValues' in window.crypto is true
8
PASS crypto.getRandomValues(almostTooLargeArray) did not throw exception.
9
PASS crypto.getRandomValues(tooLargeArray) threw exception Error: QuotaExceededError: DOM Exception 22.
10 11 12 13
PASS successfullyParsed is true

TEST COMPLETE