haikuwebkit/LayoutTests/crypto/workers/crypto-random-values-limits...

15 lines
537 B
Plaintext

[Worker] Tests the limits of crypto.randomValues.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Starting worker: resources/crypto-random-limits-worker.js
PASS [Worker] 'crypto' in self is true
PASS [Worker] 'getRandomValues' in self.crypto is true
PASS [Worker] crypto.getRandomValues(almostTooLargeArray) did not throw exception.
PASS [Worker] crypto.getRandomValues(tooLargeArray) threw exception QuotaExceededError: The quota has been exceeded..
PASS successfullyParsed is true
TEST COMPLETE