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

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

Issue 243853004: [webcrypto] Reject failed operations with a DOMException rather than null. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 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
4 CONSOLE ERROR: Algorithm: Unrecognized algorithm name
5 CONSOLE ERROR: Algorithm: name: Missing or not a string
6 Tests incorrect calls to crypto.subtle.digest() 1 Tests incorrect calls to crypto.subtle.digest()
7 2
8 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 ".
9 4
10 5
11 PASS error is: TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2 argume nts required, but only 1 present. 6 error is: TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2 arguments r equired, but only 1 present.
12 PASS error is null 7 error is: DataError: Invalid dataBuffer argument
13 PASS error is null 8 error is: DataError: Invalid dataBuffer argument
14 PASS error is null 9 error is: SyntaxError: Algorithm: Not an object
15 PASS error is null 10 error is: NotSupportedError: Algorithm: Unrecognized name
16 PASS error is null 11 error is: SyntaxError: Algorithm: name: Missing or not a string
17 PASS successfullyParsed is true 12 PASS successfullyParsed is true
18 13
19 TEST COMPLETE 14 TEST COMPLETE
20 15
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698