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

Unified Diff: LayoutTests/crypto/generateKey-expected.txt

Issue 38063003: Improve TypeError messages from failed array conversions. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Improve TypeError messages from failed array conversions. Created 7 years, 2 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/fast/canvas/canvas-lineDash-input-sequence.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/generateKey-expected.txt
diff --git a/LayoutTests/crypto/generateKey-expected.txt b/LayoutTests/crypto/generateKey-expected.txt
index 538ba6504ea93fdd2212517f37350293b5426cb5..e11d4228187c050b00aaa48cc43c9388341d4ed0 100644
--- a/LayoutTests/crypto/generateKey-expected.txt
+++ b/LayoutTests/crypto/generateKey-expected.txt
@@ -3,8 +3,8 @@ Tests cypto.subtle.generateKey.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS crypto.subtle.generateKey(aesCbc, extractable, -1) threw exception TypeError: Type error.
-PASS crypto.subtle.generateKey(aesCbc, extractable, null) threw exception TypeError: Type error.
+PASS crypto.subtle.generateKey(aesCbc, extractable, -1) threw exception TypeError: Third argument is neither an array, nor does it have indexed properties..
+PASS crypto.subtle.generateKey(aesCbc, extractable, null) threw exception TypeError: Third argument is neither an array, nor does it have indexed properties..
PASS crypto.subtle.generateKey(aesCbc, extractable, ['boo']) threw exception TypeError: Invalid keyUsages argument.
PASS crypto.subtle.generateKey({ name: 'aes-cbc' }, extractable, keyUsages) threw exception TypeError: Algorithm: AES-CBC: AesKeyGenParams: length: Missing required property.
PASS crypto.subtle.generateKey({ name: 'aes-cbc', length: 70000 }, extractable, keyUsages) threw exception TypeError: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric range.
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/canvas-lineDash-input-sequence.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698