Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / crypto / aes-cbc-generateKey-parseAlgorithm-failures-expected.txt
index f02e896..9f389e9 100644 (file)
@@ -1,20 +1,15 @@
-CONSOLE ERROR: Invalid keyUsages argument
-CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Missing required property
-CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric range
-CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric range
-CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric range
 Tests generateKey() with bad AES-CBC parameters.
 
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-PASS crypto.subtle.generateKey({ name: 'aes-cbc', length: 1024 }, extractable, -1) threw exception TypeError: The 3rd argument is neither an array, nor does it have indexed properties..
-PASS crypto.subtle.generateKey({ name: 'aes-cbc', length: 1024 }, extractable, null) threw exception TypeError: The 3rd argument is neither an array, nor does it have indexed properties..
-PASS error is null
-PASS error is null
-PASS error is null
-PASS error is null
-PASS error is null
+error is: TypeError: The 3rd argument is neither an array, nor does it have indexed properties.
+error is: TypeError: The 3rd argument is neither an array, nor does it have indexed properties.
+error is: SyntaxError: Invalid keyUsages argument
+error is: SyntaxError: AesKeyGenParams: length: Missing required property
+error is: SyntaxError: AesKeyGenParams: length: Outside of numeric range
+error is: SyntaxError: AesKeyGenParams: length: Outside of numeric range
+error is: SyntaxError: AesKeyGenParams: length: Outside of numeric range
 PASS successfullyParsed is true
 
 TEST COMPLETE