blob: 767051c2779a0cdc4f9e5606b599480905c94b0a [file] [log] [blame]
abarth@webkit.orgb71b45b2012-08-29 03:53:53 +00001Tests the limits of crypto.randomValues.
2
3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6PASS 'crypto' in window is true
7PASS 'getRandomValues' in window.crypto is true
abarth@webkit.org3d5cb5d2012-08-30 05:08:52 +00008PASS crypto.getRandomValues(almostTooLargeArray) did not throw exception.
cdumez@apple.com73c7cf92017-07-19 20:24:15 +00009PASS crypto.getRandomValues(tooLargeArray) threw exception QuotaExceededError: The quota has been exceeded..
abarth@webkit.orgb71b45b2012-08-29 03:53:53 +000010PASS successfullyParsed is true
11
12TEST COMPLETE
13