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

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

Issue 24203002: Improve generated "Not enough arguments." TypeError exceptions. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: NeedsRebaseline Created 7 years, 3 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
Index: LayoutTests/crypto/digest-expected.txt
diff --git a/LayoutTests/crypto/digest-expected.txt b/LayoutTests/crypto/digest-expected.txt
index 2c1e81c652421f6f134e430595f3845c994c7260..dc74a407c9e2e112ce3c5d3888473082f7dc957d 100644
--- a/LayoutTests/crypto/digest-expected.txt
+++ b/LayoutTests/crypto/digest-expected.txt
@@ -11,7 +11,7 @@ SHA-256 rejects (dummy implementation)
rejected with value of null
Error (dummy implementation rejects this input)
rejected with value of null
-PASS crypto.subtle.digest({name: 'sha-1'}) threw exception TypeError: Not enough arguments.
+PASS crypto.subtle.digest({name: 'sha-1'}) threw exception TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2 arguments required, but only 1 present..
PASS crypto.subtle.digest({name: 'sha-1'}, null) threw exception TypeError: Invalid dataBuffer argument.
PASS crypto.subtle.digest({name: 'sha-1'}, 10) threw exception TypeError: Invalid dataBuffer argument.
PASS crypto.subtle.digest({name: 'sha'}, data) threw exception NotSupportedError: Algorithm: Unrecognized algorithm name.
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/editing/pasteboard/data-transfer-items-drag-drop-string.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698