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

Unified Diff: LayoutTests/crypto/import-jwk-expected.txt

Issue 336173002: [webcrypto] Require importKey() for JWK to provide data as a Javascript object rather than a JSON a… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update additional tests Created 6 years, 6 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 | « LayoutTests/crypto/import-jwk.html ('k') | LayoutTests/crypto/importKey-badParameters-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/import-jwk-expected.txt
diff --git a/LayoutTests/crypto/import-jwk-expected.txt b/LayoutTests/crypto/import-jwk-expected.txt
index 8b4b3304aa69172614cc0ecce1ca0087f70f5837..e7dd40f93b58b07d2ca861b5824102652ac75044 100644
--- a/LayoutTests/crypto/import-jwk-expected.txt
+++ b/LayoutTests/crypto/import-jwk-expected.txt
@@ -3,10 +3,8 @@ Test error handling for JWK import.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-error is: DataError: No key data was provided
-error is: DataError: JWK input could not be parsed to a JSON dictionary
-error is: DataError: JWK input could not be parsed to a JSON dictionary
-error is: DataError: JWK input could not be parsed to a JSON dictionary
+error is: TypeError: Failed to execute 'importKey' on 'SubtleCrypto': No function was found that matched the signature provided.
+error is: TypeError: Failed to execute 'importKey' on 'SubtleCrypto': No function was found that matched the signature provided.
error is: DataError: The required JWK property "kty" was missing
error is: DataError: The JWK "kty" property was unrecognized
error is: DataError: The JWK "alg" property was not recognized
@@ -16,11 +14,11 @@ error is: DataError: The required JWK property "k" was missing
error is: DataError: The required JWK property "k" was missing
error is: DataError: The JWK "k" property did not include the right length of key data for the given algorithm.
error is: DataError: The JWK "k" property did not include the right length of key data for the given algorithm.
-error is: DataError: The JWK property "kty" must be a string
-error is: DataError: The JWK property "alg" must be a string
-error is: DataError: The JWK property "use" must be a string
-error is: DataError: The JWK property "ext" must be a boolean
-error is: DataError: The JWK property "k" must be a string
+error is: DataError: The JWK "kty" property was unrecognized
+error is: DataError: The JWK "alg" property was not recognized
+error is: DataError: The JWK "use" property could not be parsed
+Boolean JWK property passed as a string and worked
+String JWK property passed as a number and worked
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/crypto/import-jwk.html ('k') | LayoutTests/crypto/importKey-badParameters-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698