blob: 67ec93174deca907922b1c5cc32dd1c238871344 [file] [log] [blame]
Tests the limits of crypto.randomValues.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS 'crypto' in self is true
PASS 'getRandomValues' in self.crypto is true
PASS crypto.getRandomValues(almostTooLargeArray) did not throw exception.
PASS crypto.getRandomValues(tooLargeArray) threw exception QuotaExceededError: An attempt was made to add something to storage that exceeded the quota..
PASS successfullyParsed is true
TEST COMPLETE