mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 11:48:32 +00:00
The algorithm comparison in digest() is done using a StringView to avoid complex error handling and promise rejection.
6 lines
233 B
Plaintext
6 lines
233 B
Plaintext
[SecureContext,Exposed=(Window,Worker), UseNewAKString]
|
|
interface SubtleCrypto {
|
|
// FIXME: Add support for AlgorithmIdentifier ("typedef (object or DOMString)")
|
|
Promise<any> digest(DOMString algorithm, BufferSource data);
|
|
};
|