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

Side by Side Diff: LayoutTests/crypto/digest-failures-expected.txt

Issue 801793003: Improve LayoutTest output for Errors (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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 unified diff | Download patch
OLDNEW
1 Tests incorrect calls to crypto.subtle.digest() 1 Tests incorrect calls to crypto.subtle.digest()
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6
7 digest() without data argument...
6 error is: TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2 arguments r equired, but only 1 present. 8 error is: TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2 arguments r equired, but only 1 present.
9
10 digest() with data argument that is null...
7 error is: TypeError: Failed to execute 'digest' on 'SubtleCrypto': The provided value is not of type '(ArrayBuffer or ArrayBufferView)' 11 error is: TypeError: Failed to execute 'digest' on 'SubtleCrypto': The provided value is not of type '(ArrayBuffer or ArrayBufferView)'
12
13 digest() with data argument that is an integer...
8 error is: TypeError: Failed to execute 'digest' on 'SubtleCrypto': The provided value is not of type '(ArrayBuffer or ArrayBufferView)' 14 error is: TypeError: Failed to execute 'digest' on 'SubtleCrypto': The provided value is not of type '(ArrayBuffer or ArrayBufferView)'
15
16 digest() with algorithm as null...
9 error is: TypeError: Algorithm: Not an object 17 error is: TypeError: Algorithm: Not an object
18
19 digest() with invalid agorithm that is sha...
10 error is: NotSupportedError: Algorithm: Unrecognized name 20 error is: NotSupportedError: Algorithm: Unrecognized name
21
22 digest() without algorithm name...
11 error is: TypeError: Algorithm: name: Missing or not a string 23 error is: TypeError: Algorithm: name: Missing or not a string
12 PASS successfullyParsed is true 24 PASS successfullyParsed is true
13 25
14 TEST COMPLETE 26 TEST COMPLETE
15 27
OLDNEW
« no previous file with comments | « LayoutTests/crypto/digest-failures.html ('k') | LayoutTests/crypto/ecdh-deriveBits-failures.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698