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

Unified Diff: LayoutTests/crypto/worker-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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/crypto/worker-random-values-limits-expected.txt
diff --git a/LayoutTests/crypto/worker-random-values-limits-expected.txt b/LayoutTests/crypto/worker-random-values-limits-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c9c736377b1391f779dcb70a98ea8174ca57027
--- /dev/null
+++ b/LayoutTests/crypto/worker-random-values-limits-expected.txt
@@ -0,0 +1,14 @@
+[Worker] Tests the limits of crypto.randomValues.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Starting worker: resources/random-values-limits.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 Error: QuotaExceededError: DOM Exception 22.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698