mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 07:05:08 +00:00

Since we don't support IDL typedefs or unions yet, the responsibility of verifying the type of the argument is temporarily moved from the generated Wrapper to the implementation.
7 lines
230 B
Text
7 lines
230 B
Text
[Exposed=(Window,Worker)]
|
|
interface Crypto {
|
|
// TODO: [SecureContext] readonly attribute SubtleCrypto subtle;
|
|
|
|
// FIXME: the argument and the return value should be of type ArrayBufferView
|
|
any getRandomValues(any array);
|
|
};
|