From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/crypto/CryptoKey.idl | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) (limited to 'Source/WebCore/crypto/CryptoKey.idl') diff --git a/Source/WebCore/crypto/CryptoKey.idl b/Source/WebCore/crypto/CryptoKey.idl index bc14da866..708a8d11d 100644 --- a/Source/WebCore/crypto/CryptoKey.idl +++ b/Source/WebCore/crypto/CryptoKey.idl @@ -24,32 +24,19 @@ */ enum KeyType { - "secret", "public", - "private" -}; - -enum KeyUsage { - "encrypt", - "decrypt", - "sign", - "verify", - "deriveKey", - "deriveBits", - "wrapKey", - "unwrapKey" + "private", + "secret" }; [ Conditional=SUBTLE_CRYPTO, + Exposed=(Window,Worker), GenerateIsReachable=Impl, - InterfaceName=Key, - JSNoStaticTables, - NoInterfaceObject, SkipVTableValidation ] interface CryptoKey { readonly attribute KeyType type; readonly attribute boolean extractable; - [Custom] readonly attribute Algorithm algorithm; - readonly attribute KeyUsage[] usages; + [CachedAttribute, CustomGetter] readonly attribute object algorithm; + [CachedAttribute] readonly attribute sequence usages; }; -- cgit v1.2.1