OLD | NEW |
1 Tests the limits of crypto.randomValues. | 1 Tests the limits of crypto.randomValues. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS 'crypto' in self is true | 6 PASS 'crypto' in self is true |
7 PASS 'getRandomValues' in self.crypto is true | 7 PASS 'getRandomValues' in self.crypto is true |
8 PASS crypto.getRandomValues(almostTooLargeArray) did not throw exception. | 8 PASS crypto.getRandomValues(almostTooLargeArray) did not throw exception. |
9 PASS crypto.getRandomValues(tooLargeArray) threw exception QuotaExceededError: A
n attempt was made to add something to storage that exceeded the quota.. | 9 PASS crypto.getRandomValues(tooLargeArray) threw exception QuotaExceededError: F
ailed to execute 'getRandomValues' on 'Crypto': The ArrayBufferView's byte lengt
h (65537) exceeds the number of bytes of entropy available via this API (65536).
. |
10 PASS successfullyParsed is true | 10 PASS successfullyParsed is true |
11 | 11 |
12 TEST COMPLETE | 12 TEST COMPLETE |
13 | 13 |
OLD | NEW |