Title: [160027] trunk/LayoutTests
Revision
160027
Author
[email protected]
Date
2013-12-03 12:05:52 -0800 (Tue, 03 Dec 2013)

Log Message

WebCrypto HMAC doesn't check key algorithm's hash
https://bugs.webkit.org/show_bug.cgi?id=125114

Update layout test result for a last minute change in test content.

* crypto/subtle/hmac-check-algorithm-expected.txt:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (160026 => 160027)


--- trunk/LayoutTests/ChangeLog	2013-12-03 20:01:24 UTC (rev 160026)
+++ trunk/LayoutTests/ChangeLog	2013-12-03 20:05:52 UTC (rev 160027)
@@ -1,3 +1,12 @@
+2013-12-03  Alexey Proskuryakov  <[email protected]>
+
+        WebCrypto HMAC doesn't check key algorithm's hash
+        https://bugs.webkit.org/show_bug.cgi?id=125114
+
+        Update layout test result for a last minute change in test content.
+
+        * crypto/subtle/hmac-check-algorithm-expected.txt:
+
 2013-12-03  Ryosuke Niwa  <[email protected]>
 
         XML fragment parsing algorithm doesn't use the context element's default namespace URI

Modified: trunk/LayoutTests/crypto/subtle/hmac-check-algorithm-expected.txt (160026 => 160027)


--- trunk/LayoutTests/crypto/subtle/hmac-check-algorithm-expected.txt	2013-12-03 20:01:24 UTC (rev 160026)
+++ trunk/LayoutTests/crypto/subtle/hmac-check-algorithm-expected.txt	2013-12-03 20:05:52 UTC (rev 160027)
@@ -4,7 +4,10 @@
 
 
 Importing a raw HMAC SHA-1 key from string literal...
+Done
+PASS crypto.subtle.sign({name: 'hmac', hash: {name: 'sha-1'}}, key, asciiToUint8Array('foo')) did not throw exception.
 PASS crypto.subtle.sign({name: 'hmac', hash: {name: 'sha-256'}}, key, asciiToUint8Array('foo')) threw exception Error: NotSupportedError: DOM Exception 9.
+PASS crypto.subtle.verify({name: 'hmac', hash: {name: 'sha-1'}}, key, asciiToUint8Array('fake signature'), asciiToUint8Array('foo')) did not throw exception.
 PASS crypto.subtle.verify({name: 'hmac', hash: {name: 'sha-256'}}, key, asciiToUint8Array('fake signature'), asciiToUint8Array('foo')) threw exception Error: NotSupportedError: DOM Exception 9.
 PASS successfullyParsed is true
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to