Rename Key to CryptoKey
authorjiewen_tan@apple.com <jiewen_tan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 9 Sep 2016 18:38:47 +0000 (18:38 +0000)
committerjiewen_tan@apple.com <jiewen_tan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 9 Sep 2016 18:38:47 +0000 (18:38 +0000)
commit82fb44dcbcfaa9c2d6e301f74174af27aa3bbc13
treebbc4a03b8b220bf3b2b5586963e323d59f539e8f
parenta9f9e18213ae1e6dce872b6cba6add9e54cff15f
Rename Key to CryptoKey
https://bugs.webkit.org/show_bug.cgi?id=161665
<rdar://problem/28083391>

Reviewed by Brent Fulgham.

LayoutTests/imported/w3c:

* WebCryptoAPI/idlharness-expected.txt:

Source/WebCore:

A link to the spec: https://www.w3.org/TR/WebCryptoAPI/#cryptokey-interface

* crypto/CryptoKey.idl:
Remove some unnecessary IDL attributes and reorder KeyType enum to match the spec.
* crypto/CryptoKeyType.h:

LayoutTests:

* crypto/subtle/aes-cbc-unwrap-rsa-expected.txt:
* crypto/subtle/aes-cbc-unwrap-rsa.html:
* crypto/subtle/aes-kw-key-manipulation-expected.txt:
* crypto/subtle/aes-kw-key-manipulation.html:
* crypto/subtle/aes-kw-wrap-unwrap-aes-expected.txt:
* crypto/subtle/aes-kw-wrap-unwrap-aes.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:
* crypto/subtle/rsassa-pkcs1-v1_5-import-jwk-expected.txt:
* crypto/subtle/rsassa-pkcs1-v1_5-import-jwk.html:
* platform/mac/js/dom/global-constructors-attributes-expected.txt:
* platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@205755 268f45cc-cd09-0410-ab3c-d52691b4dbfc
20 files changed:
LayoutTests/ChangeLog
LayoutTests/crypto/subtle/aes-cbc-unwrap-rsa-expected.txt
LayoutTests/crypto/subtle/aes-cbc-unwrap-rsa.html
LayoutTests/crypto/subtle/aes-kw-key-manipulation-expected.txt
LayoutTests/crypto/subtle/aes-kw-key-manipulation.html
LayoutTests/crypto/subtle/aes-kw-wrap-unwrap-aes-expected.txt
LayoutTests/crypto/subtle/aes-kw-wrap-unwrap-aes.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
LayoutTests/crypto/subtle/rsassa-pkcs1-v1_5-import-jwk-expected.txt
LayoutTests/crypto/subtle/rsassa-pkcs1-v1_5-import-jwk.html
LayoutTests/imported/w3c/ChangeLog
LayoutTests/imported/w3c/WebCryptoAPI/idlharness-expected.txt
LayoutTests/platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt
LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/crypto/CryptoKey.idl
Source/WebCore/crypto/CryptoKeyType.h