Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / crypto / exportKey-badParameters-expected.txt
index 58f91ac..578f990 100644 (file)
@@ -1,16 +1,13 @@
-CONSOLE ERROR: Invalid keyFormat argument
-CONSOLE ERROR: Invalid keyFormat argument
-CONSOLE ERROR: Invalid keyFormat argument
 Tests exportKey() given bad inputs.
 
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-PASS crypto.subtle.exportKey('raw', null) threw exception TypeError: Failed to execute 'exportKey' on 'SubtleCrypto': Invalid key argument.
-PASS crypto.subtle.exportKey('raw', 3) threw exception TypeError: Failed to execute 'exportKey' on 'SubtleCrypto': Invalid key argument.
-PASS error is null
-PASS error is null
-PASS error is null
+error is: DataError: Invalid key argument
+error is: DataError: Invalid key argument
+error is: SyntaxError: Invalid keyFormat argument
+error is: SyntaxError: Invalid keyFormat argument
+error is: SyntaxError: Invalid keyFormat argument
 PASS successfullyParsed is true
 
 TEST COMPLETE