Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / crypto / digest-failures-expected.txt
index 7752ca2..9d40b3e 100644 (file)
@@ -1,16 +1,14 @@
-CONSOLE ERROR: Algorithm: Unrecognized algorithm name
-CONSOLE ERROR: Algorithm: name: Missing or not a string
 Tests incorrect calls to crypto.subtle.digest()
 
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-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: Failed to execute 'digest' on 'SubtleCrypto': Invalid dataBuffer argument.
-PASS crypto.subtle.digest({name: 'sha-1'}, 10) threw exception TypeError: Failed to execute 'digest' on 'SubtleCrypto': Invalid dataBuffer argument.
-PASS crypto.subtle.digest(null, data) threw exception TypeError: Failed to execute 'digest' on 'SubtleCrypto': Algorithm: Not an object.
-PASS error is null
-PASS error is null
+error is: TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2 arguments required, but only 1 present.
+error is: TypeError: Failed to execute 'digest' on 'SubtleCrypto': No function was found that matched the signature provided.
+error is: TypeError: Failed to execute 'digest' on 'SubtleCrypto': No function was found that matched the signature provided.
+error is: TypeError: Failed to execute 'digest' on 'SubtleCrypto': No function was found that matched the signature provided.
+error is: NotSupportedError: Algorithm: Unrecognized name
+error is: SyntaxError: Algorithm: name: Missing or not a string
 PASS successfullyParsed is true
 
 TEST COMPLETE