abarth@webkit.org | b71b45b | 2012-08-29 03:53:53 +0000 | [diff] [blame] | 1 | Tests the limits of crypto.randomValues. |
| 2 | |
| 3 | On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| 4 | |
| 5 | |
| 6 | PASS 'crypto' in window is true |
| 7 | PASS 'getRandomValues' in window.crypto is true |
abarth@webkit.org | 3d5cb5d | 2012-08-30 05:08:52 +0000 | [diff] [blame] | 8 | PASS crypto.getRandomValues(almostTooLargeArray) did not throw exception. |
cdumez@apple.com | 73c7cf9 | 2017-07-19 20:24:15 +0000 | [diff] [blame] | 9 | PASS crypto.getRandomValues(tooLargeArray) threw exception QuotaExceededError: The quota has been exceeded.. |
abarth@webkit.org | b71b45b | 2012-08-29 03:53:53 +0000 | [diff] [blame] | 10 | PASS successfullyParsed is true |
| 11 | |
| 12 | TEST COMPLETE |
| 13 | |