| Index: LayoutTests/crypto/worker-random-values-types-expected.txt
|
| diff --git a/LayoutTests/crypto/worker-random-values-types-expected.txt b/LayoutTests/crypto/worker-random-values-types-expected.txt
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..bf8d12718a4ba135be5a12a9f29b01759ce88f16
|
| --- /dev/null
|
| +++ b/LayoutTests/crypto/worker-random-values-types-expected.txt
|
| @@ -0,0 +1,53 @@
|
| +[Worker] Tests which types are valid for crypto.randomValues.
|
| +
|
| +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
| +
|
| +
|
| +Starting worker: resources/random-values-types.js
|
| +PASS [Worker] 'crypto' in self is true
|
| +PASS [Worker] 'getRandomValues' in self.crypto is true
|
| +PASS [Worker] random = crypto.getRandomValues(new Uint8Array(3)) is defined.
|
| +PASS [Worker] random is an instance of Uint8Array
|
| +PASS [Worker] view = new Uint8Array(3) is defined.
|
| +PASS [Worker] random = crypto.getRandomValues(view) is defined.
|
| +PASS [Worker] random is view
|
| +PASS [Worker] random = crypto.getRandomValues(new Int8Array(3)) is defined.
|
| +PASS [Worker] random is an instance of Int8Array
|
| +PASS [Worker] view = new Int8Array(3) is defined.
|
| +PASS [Worker] random = crypto.getRandomValues(view) is defined.
|
| +PASS [Worker] random is view
|
| +PASS [Worker] random = crypto.getRandomValues(new Uint8ClampedArray(3)) is defined.
|
| +PASS [Worker] random is an instance of Uint8ClampedArray
|
| +PASS [Worker] view = new Uint8ClampedArray(3) is defined.
|
| +PASS [Worker] random = crypto.getRandomValues(view) is defined.
|
| +PASS [Worker] random is view
|
| +PASS [Worker] random = crypto.getRandomValues(new Uint16Array(3)) is defined.
|
| +PASS [Worker] random is an instance of Uint16Array
|
| +PASS [Worker] view = new Uint16Array(3) is defined.
|
| +PASS [Worker] random = crypto.getRandomValues(view) is defined.
|
| +PASS [Worker] random is view
|
| +PASS [Worker] random = crypto.getRandomValues(new Int16Array(3)) is defined.
|
| +PASS [Worker] random is an instance of Int16Array
|
| +PASS [Worker] view = new Int16Array(3) is defined.
|
| +PASS [Worker] random = crypto.getRandomValues(view) is defined.
|
| +PASS [Worker] random is view
|
| +PASS [Worker] random = crypto.getRandomValues(new Uint32Array(3)) is defined.
|
| +PASS [Worker] random is an instance of Uint32Array
|
| +PASS [Worker] view = new Uint32Array(3) is defined.
|
| +PASS [Worker] random = crypto.getRandomValues(view) is defined.
|
| +PASS [Worker] random is view
|
| +PASS [Worker] random = crypto.getRandomValues(new Int32Array(3)) is defined.
|
| +PASS [Worker] random is an instance of Int32Array
|
| +PASS [Worker] view = new Int32Array(3) is defined.
|
| +PASS [Worker] random = crypto.getRandomValues(view) is defined.
|
| +PASS [Worker] random is view
|
| +PASS [Worker] crypto.getRandomValues(new Float32Array(3)) threw exception Error: TypeMismatchError: DOM Exception 17.
|
| +PASS [Worker] crypto.getRandomValues(new Float64Array(3)) threw exception Error: TypeMismatchError: DOM Exception 17.
|
| +PASS [Worker] buffer = new Uint8Array(32) is defined.
|
| +PASS [Worker] buffer.buffer is defined.
|
| +PASS [Worker] view = new DataView(buffer.buffer) is defined.
|
| +PASS [Worker] crypto.getRandomValues(view) threw exception Error: TypeMismatchError: DOM Exception 17.
|
| +PASS successfullyParsed is true
|
| +
|
| +TEST COMPLETE
|
| +
|
|
|