1
Fork 0
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:
Shannon Booth 2023-11-23 20:12:06 +13:00 committed by Andreas Kling
parent 04c094343f
commit eab20129b9
3 changed files with 8 additions and 9 deletions

View file

@ -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();
};