mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:17:35 +00:00
LibWeb: Use ArrayBufferView for Crypto::getRandomValues
Co-Authored-By: Matthew Olsson <mattco@serenityos.org>
This commit is contained in:
parent
04c094343f
commit
eab20129b9
3 changed files with 8 additions and 9 deletions
|
@ -5,8 +5,7 @@
|
|||
interface Crypto {
|
||||
[SecureContext] readonly attribute SubtleCrypto subtle;
|
||||
|
||||
// FIXME: the argument and the return value should be of type ArrayBufferView
|
||||
any getRandomValues(any array);
|
||||
ArrayBufferView getRandomValues(ArrayBufferView array);
|
||||
|
||||
[SecureContext] DOMString randomUUID();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue