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

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

Issue 222003006: [webcrypto] Don't throw any extra WebIDL exceptions from WebCrypto methods. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 CONSOLE ERROR: Invalid dataBuffer argument
2 CONSOLE ERROR: Invalid dataBuffer argument
3 CONSOLE ERROR: Algorithm: Not an object
1 CONSOLE ERROR: Algorithm: Unrecognized algorithm name 4 CONSOLE ERROR: Algorithm: Unrecognized algorithm name
2 CONSOLE ERROR: Algorithm: name: Missing or not a string 5 CONSOLE ERROR: Algorithm: name: Missing or not a string
3 Tests incorrect calls to crypto.subtle.digest() 6 Tests incorrect calls to crypto.subtle.digest()
4 7
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 8 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
6 9
7 10
8 PASS crypto.subtle.digest({name: 'sha-1'}) threw exception TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2 arguments required, but only 1 present.. 11 PASS crypto.subtle.digest({name: 'sha-1'}) threw exception TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2 arguments required, but only 1 present..
9 PASS crypto.subtle.digest({name: 'sha-1'}, null) threw exception TypeError: Fail ed to execute 'digest' on 'SubtleCrypto': Invalid dataBuffer argument. 12 PASS error is null
10 PASS crypto.subtle.digest({name: 'sha-1'}, 10) threw exception TypeError: Failed to execute 'digest' on 'SubtleCrypto': Invalid dataBuffer argument. 13 PASS error is null
11 PASS crypto.subtle.digest(null, data) threw exception TypeError: Failed to execu te 'digest' on 'SubtleCrypto': Algorithm: Not an object. 14 PASS error is null
12 PASS error is null 15 PASS error is null
13 PASS error is null 16 PASS error is null
14 PASS successfullyParsed is true 17 PASS successfullyParsed is true
15 18
16 TEST COMPLETE 19 TEST COMPLETE
17 20
OLDNEW
« no previous file with comments | « LayoutTests/crypto/digest-failures.html ('k') | LayoutTests/crypto/exportKey-badParameters.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698