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

Unified Diff: LayoutTests/crypto/crypto-random-values-types-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/crypto-random-values-types-expected.txt
diff --git a/LayoutTests/crypto/crypto-random-values-types-expected.txt b/LayoutTests/crypto/crypto-random-values-types-expected.txt
deleted file mode 100644
index 4213fd45a5100a742b1162c22574dd3f4c725ab3..0000000000000000000000000000000000000000
--- a/LayoutTests/crypto/crypto-random-values-types-expected.txt
+++ /dev/null
@@ -1,52 +0,0 @@
-Tests which types are valid for crypto.randomValues.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS 'crypto' in window is true
-PASS 'getRandomValues' in window.crypto is true
-PASS random = crypto.getRandomValues(new Uint8Array(3)) is defined.
-PASS random is an instance of Uint8Array
-PASS view = new Uint8Array(3) is defined.
-PASS random = crypto.getRandomValues(view) is defined.
-PASS random is view
-PASS random = crypto.getRandomValues(new Int8Array(3)) is defined.
-PASS random is an instance of Int8Array
-PASS view = new Int8Array(3) is defined.
-PASS random = crypto.getRandomValues(view) is defined.
-PASS random is view
-PASS random = crypto.getRandomValues(new Uint8ClampedArray(3)) is defined.
-PASS random is an instance of Uint8ClampedArray
-PASS view = new Uint8ClampedArray(3) is defined.
-PASS random = crypto.getRandomValues(view) is defined.
-PASS random is view
-PASS random = crypto.getRandomValues(new Uint16Array(3)) is defined.
-PASS random is an instance of Uint16Array
-PASS view = new Uint16Array(3) is defined.
-PASS random = crypto.getRandomValues(view) is defined.
-PASS random is view
-PASS random = crypto.getRandomValues(new Int16Array(3)) is defined.
-PASS random is an instance of Int16Array
-PASS view = new Int16Array(3) is defined.
-PASS random = crypto.getRandomValues(view) is defined.
-PASS random is view
-PASS random = crypto.getRandomValues(new Uint32Array(3)) is defined.
-PASS random is an instance of Uint32Array
-PASS view = new Uint32Array(3) is defined.
-PASS random = crypto.getRandomValues(view) is defined.
-PASS random is view
-PASS random = crypto.getRandomValues(new Int32Array(3)) is defined.
-PASS random is an instance of Int32Array
-PASS view = new Int32Array(3) is defined.
-PASS random = crypto.getRandomValues(view) is defined.
-PASS random is view
-PASS crypto.getRandomValues(new Float32Array(3)) threw exception Error: TypeMismatchError: DOM Exception 17.
-PASS crypto.getRandomValues(new Float64Array(3)) threw exception Error: TypeMismatchError: DOM Exception 17.
-PASS buffer = new Uint8Array(32) is defined.
-PASS buffer.buffer is defined.
-PASS view = new DataView(buffer.buffer) is defined.
-PASS crypto.getRandomValues(view) threw exception Error: TypeMismatchError: DOM Exception 17.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Powered by Google App Engine
This is Rietveld 408576698