Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / crypto / unwrapKey-badParameters-expected.txt
index ecec8ea..bed840a 100644 (file)
@@ -1,19 +1,16 @@
-CONSOLE ERROR: Invalid keyFormat argument
-CONSOLE ERROR: Algorithm: SHA-1: Unsupported operation
-CONSOLE ERROR: key.algorithm does not match that of operation
 Tests calls to unwrapKey() with bad inputs.
 
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-PASS crypto.subtle.unwrapKey('raw', null, unwrappingKey, unwrapAlgorithm, unwrappedKeyAlgorithm, extractable, keyUsages) threw exception TypeError: Failed to execute 'unwrapKey' on 'SubtleCrypto': Invalid wrappedKey argument.
-PASS crypto.subtle.unwrapKey('raw', wrappedKey, 'hi', unwrapAlgorithm, unwrappedKeyAlgorithm, extractable, keyUsages) threw exception TypeError: Failed to execute 'unwrapKey' on 'SubtleCrypto': Invalid unwrappingKey argument.
-PASS crypto.subtle.unwrapKey('raw', wrappedKey, 'hi', unwrapAlgorithm, null, extractable, 9) threw exception TypeError: The 7th argument is neither an array, nor does it have indexed properties..
-PASS crypto.subtle.unwrapKey('raw', wrappedKey, unwrappingKey, null, unwrappedKeyAlgorithm, extractable, keyUsages) threw exception TypeError: Failed to execute 'unwrapKey' on 'SubtleCrypto': Algorithm: Not an object.
-PASS crypto.subtle.unwrapKey('raw', wrappedKey, unwrappingKey, unwrapAlgorithm, 3, extractable, keyUsages) threw exception TypeError: Failed to execute 'unwrapKey' on 'SubtleCrypto': parameter 5 ('unwrappedKeyAlgorithm') is not an object..
-PASS error is null
-PASS error is null
-PASS error is null
+error is: TypeError: Failed to execute 'unwrapKey' on 'SubtleCrypto': No function was found that matched the signature provided.
+error is: TypeError: Failed to execute 'unwrapKey' on 'SubtleCrypto': No function was found that matched the signature provided.
+error is: TypeError: Failed to execute 'unwrapKey' on 'SubtleCrypto': No function was found that matched the signature provided.
+error is: TypeError: Failed to execute 'unwrapKey' on 'SubtleCrypto': No function was found that matched the signature provided.
+error is: TypeError: Failed to execute 'unwrapKey' on 'SubtleCrypto': No function was found that matched the signature provided.
+error is: SyntaxError: Invalid keyFormat argument
+error is: NotSupportedError: SHA-1: Unsupported operation: unwrapKey
+error is: InvalidAccessError: key.algorithm does not match that of operation
 PASS successfullyParsed is true
 
 TEST COMPLETE