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

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

Issue 235123002: Should throw TypeError instead of TypeMismatchError (modules) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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
« no previous file with comments | « no previous file | LayoutTests/crypto/worker-random-values-types-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/random-values-types-expected.txt
diff --git a/LayoutTests/crypto/random-values-types-expected.txt b/LayoutTests/crypto/random-values-types-expected.txt
index 76af402573d6f27548266eefde25412ec9176f5e..cec43a9cc8dc864afc13529a55ff3654e2721df9 100644
--- a/LayoutTests/crypto/random-values-types-expected.txt
+++ b/LayoutTests/crypto/random-values-types-expected.txt
@@ -40,12 +40,12 @@ 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 TypeMismatchError: Failed to execute 'getRandomValues' on 'Crypto': The provided ArrayBufferView is of type 'Float32', which is not an integer array type..
-PASS 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 crypto.getRandomValues(new Float32Array(3)) threw exception TypeError: Failed to execute 'getRandomValues' on 'Crypto': The provided ArrayBufferView is of type 'Float32', which is not an integer array type..
+PASS crypto.getRandomValues(new Float64Array(3)) threw exception TypeError: Failed to execute 'getRandomValues' on 'Crypto': The provided ArrayBufferView is of type 'Float64', which is not an integer array type..
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 TypeMismatchError: Failed to execute 'getRandomValues' on 'Crypto': The provided ArrayBufferView is of type 'DataView', which is not an integer array type..
+PASS crypto.getRandomValues(view) threw exception TypeError: 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 | « no previous file | LayoutTests/crypto/worker-random-values-types-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698