blob: 31ce7de60620e5c87f997473b9bc6e18f396f487 [file] [log] [blame]
Test crypto.getRandomValues behavior in oom situation.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS exceptionString == undefined || exceptionString === "TypeError: Argument 1 ('array') to Crypto.getRandomValues must be an instance of ArrayBufferView" is true
PASS crypto.getRandomValues didn't crash
PASS successfullyParsed is true
TEST COMPLETE