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

Unified Diff: LayoutTests/crypto/worker-random-values-types-expected.txt

Issue 87963002: Improve Crypto::getRandomValues exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: DEBUG. Created 7 years, 1 month 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
« no previous file with comments | « LayoutTests/crypto/worker-random-values-limits-expected.txt ('k') | Source/bindings/v8/ExceptionState.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
index 63d530758983820e881869f7b7baf0ee5c036607..4218a74d172cddc922336a5c6c6bdc1913f90daf 100644
--- a/LayoutTests/crypto/worker-random-values-types-expected.txt
+++ b/LayoutTests/crypto/worker-random-values-types-expected.txt
@@ -41,12 +41,12 @@ 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 TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
-PASS [Worker] crypto.getRandomValues(new Float64Array(3)) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
+PASS [Worker] crypto.getRandomValues(new Float32Array(3)) threw exception TypeMismatchError: Failed to execute 'getRandomValues' on 'Crypto': The provided ArrayBufferView is of type 'Float32', which is not an integer array type..
+PASS [Worker] crypto.getRandomValues(new Float64Array(3)) threw exception TypeMismatchError: Failed to execute 'getRandomValues' on 'Crypto': The provided ArrayBufferView is of type 'Float64', which is not an integer array type..
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 TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
+PASS [Worker] crypto.getRandomValues(view) threw exception TypeMismatchError: Failed to execute 'getRandomValues' on 'Crypto': The provided ArrayBufferView is of type 'DataView', which is not an integer array type..
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/crypto/worker-random-values-limits-expected.txt ('k') | Source/bindings/v8/ExceptionState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698