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

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

Issue 16820007: Expose crypto.getRandomValues() to workers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 6 months 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
OLDNEW
(Empty)
1 Tests the limits of crypto.randomValues.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS 'crypto' in window is true
7 PASS 'getRandomValues' in window.crypto is true
8 PASS crypto.getRandomValues(almostTooLargeArray) did not throw exception.
9 PASS crypto.getRandomValues(tooLargeArray) threw exception Error: QuotaExceededE rror: DOM Exception 22.
10 PASS successfullyParsed is true
11
12 TEST COMPLETE
13
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698