mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-05 02:33:03 +00:00
Just some boilerplate code to get started :^) This adds both the SubtleCrypto constructor to the window object, as well as the crypto.subtle instance attribute.
7 lines
221 B
Text
7 lines
221 B
Text
[Exposed=(Window,Worker)]
|
|
interface Crypto {
|
|
[SecureContext] readonly attribute SubtleCrypto subtle;
|
|
|
|
// FIXME: the argument and the return value should be of type ArrayBufferView
|
|
any getRandomValues(any array);
|
|
};
|