Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(208)

Side by Side Diff: LayoutTests/crypto/random-values-limits-expected.txt

Issue 87963002: Improve Crypto::getRandomValues exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: DEBUG. Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/crypto/random-values-types-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/crypto/random-values-types-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698