WebCrypto Key.usages should be ordered alphabetically
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Dec 2013 19:10:54 +0000 (19:10 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Dec 2013 19:10:54 +0000 (19:10 +0000)
commit8399c1dd48635c2b1b2fedbfe6920eef2903175b
tree71de4b883caa3d43953aa4dbed4d0e355712abc0
parent3e18f09a7d86924f963ee7bacf7f61df8ba08e79
WebCrypto Key.usages should be ordered alphabetically
https://bugs.webkit.org/show_bug.cgi?id=125696

Reviewed by Darin Adler.

Source/WebCore:

* crypto/CryptoKey.cpp: (WebCore::CryptoKey::usages): Do it.

LayoutTests:

* crypto/subtle/aes-cbc-192-encrypt-decrypt-expected.txt:
* crypto/subtle/aes-cbc-192-encrypt-decrypt.html:
* crypto/subtle/aes-cbc-256-encrypt-decrypt-expected.txt:
* crypto/subtle/aes-cbc-256-encrypt-decrypt.html:
* crypto/subtle/aes-cbc-encrypt-decrypt-expected.txt:
* crypto/subtle/aes-cbc-encrypt-decrypt-with-padding-expected.txt:
* crypto/subtle/aes-cbc-encrypt-decrypt-with-padding.html:
* crypto/subtle/aes-cbc-encrypt-decrypt.html:
* crypto/subtle/aes-cbc-generate-key-expected.txt:
* crypto/subtle/aes-cbc-generate-key.html:
* crypto/subtle/aes-cbc-invalid-length-expected.txt:
* crypto/subtle/aes-cbc-invalid-length.html:
* crypto/subtle/aes-kw-wrap-unwrap-aes-expected.txt:
* crypto/subtle/aes-kw-wrap-unwrap-aes.html:
* crypto/subtle/aes-postMessage-expected.txt:
* crypto/subtle/aes-postMessage.html:
* crypto/subtle/hmac-postMessage-expected.txt:
* crypto/subtle/hmac-postMessage.html:
* crypto/subtle/jwk-import-use-values-expected.txt:
* crypto/subtle/jwk-import-use-values.html:
* crypto/subtle/postMessage-worker-expected.txt:
* crypto/subtle/postMessage-worker.html:
* crypto/subtle/resources/postMessage-worker.js:
(onmessage):
* crypto/subtle/rsa-oaep-key-manipulation-expected.txt:
* crypto/subtle/rsa-oaep-key-manipulation.html:
* crypto/subtle/rsa-oaep-wrap-unwrap-aes-expected.txt:
* crypto/subtle/rsa-oaep-wrap-unwrap-aes.html:
* crypto/subtle/rsaes-pkcs1-v1_5-wrap-unwrap-aes-expected.txt:
* crypto/subtle/rsaes-pkcs1-v1_5-wrap-unwrap-aes.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@160547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
32 files changed:
LayoutTests/ChangeLog
LayoutTests/crypto/subtle/aes-cbc-192-encrypt-decrypt-expected.txt
LayoutTests/crypto/subtle/aes-cbc-192-encrypt-decrypt.html
LayoutTests/crypto/subtle/aes-cbc-256-encrypt-decrypt-expected.txt
LayoutTests/crypto/subtle/aes-cbc-256-encrypt-decrypt.html
LayoutTests/crypto/subtle/aes-cbc-encrypt-decrypt-expected.txt
LayoutTests/crypto/subtle/aes-cbc-encrypt-decrypt-with-padding-expected.txt
LayoutTests/crypto/subtle/aes-cbc-encrypt-decrypt-with-padding.html
LayoutTests/crypto/subtle/aes-cbc-encrypt-decrypt.html
LayoutTests/crypto/subtle/aes-cbc-generate-key-expected.txt
LayoutTests/crypto/subtle/aes-cbc-generate-key.html
LayoutTests/crypto/subtle/aes-cbc-invalid-length-expected.txt
LayoutTests/crypto/subtle/aes-cbc-invalid-length.html
LayoutTests/crypto/subtle/aes-kw-wrap-unwrap-aes-expected.txt
LayoutTests/crypto/subtle/aes-kw-wrap-unwrap-aes.html
LayoutTests/crypto/subtle/aes-postMessage-expected.txt
LayoutTests/crypto/subtle/aes-postMessage.html
LayoutTests/crypto/subtle/hmac-postMessage-expected.txt
LayoutTests/crypto/subtle/hmac-postMessage.html
LayoutTests/crypto/subtle/jwk-import-use-values-expected.txt
LayoutTests/crypto/subtle/jwk-import-use-values.html
LayoutTests/crypto/subtle/postMessage-worker-expected.txt
LayoutTests/crypto/subtle/postMessage-worker.html
LayoutTests/crypto/subtle/resources/postMessage-worker.js
LayoutTests/crypto/subtle/rsa-oaep-key-manipulation-expected.txt
LayoutTests/crypto/subtle/rsa-oaep-key-manipulation.html
LayoutTests/crypto/subtle/rsa-oaep-wrap-unwrap-aes-expected.txt
LayoutTests/crypto/subtle/rsa-oaep-wrap-unwrap-aes.html
LayoutTests/crypto/subtle/rsaes-pkcs1-v1_5-wrap-unwrap-aes-expected.txt
LayoutTests/crypto/subtle/rsaes-pkcs1-v1_5-wrap-unwrap-aes.html
Source/WebCore/ChangeLog
Source/WebCore/crypto/CryptoKey.cpp