diff options
author | Simon Wülker <simon.wuelker@arcor.de> | 2024-10-30 03:06:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-30 02:06:02 +0000 |
commit | 7fa548f555310cf4e60ad054f6577fabf57938e0 (patch) | |
tree | a2c69d16864d65ada6c599e55ee739a5aa7101b0 /components/script/dom/webidls | |
parent | 01820e2a8a28bcf3b8e1b17863984d8f729ca79b (diff) | |
download | servo-7fa548f555310cf4e60ad054f6577fabf57938e0.tar.gz servo-7fa548f555310cf4e60ad054f6577fabf57938e0.zip |
Implement `SubtleCrypto.digest` (#34034)
* Implement SubtleCrypto.digest
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Update WPT expectations
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
---------
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
Diffstat (limited to 'components/script/dom/webidls')
-rw-r--r-- | components/script/dom/webidls/SubtleCrypto.webidl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/webidls/SubtleCrypto.webidl b/components/script/dom/webidls/SubtleCrypto.webidl index 1842380c484..073dff346a9 100644 --- a/components/script/dom/webidls/SubtleCrypto.webidl +++ b/components/script/dom/webidls/SubtleCrypto.webidl @@ -33,8 +33,8 @@ interface SubtleCrypto { // CryptoKey key, // BufferSource signature, // BufferSource data); - // Promise<any> digest(AlgorithmIdentifier algorithm, - // BufferSource data); + Promise<any> digest(AlgorithmIdentifier algorithm, + BufferSource data); Promise<any> generateKey(AlgorithmIdentifier algorithm, boolean extractable, |