1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:47:34 +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

@ -23,7 +23,7 @@ public:
JS::NonnullGCPtr<SubtleCrypto> subtle() const;
WebIDL::ExceptionOr<JS::Value> get_random_values(JS::Value array) const;
WebIDL::ExceptionOr<JS::Handle<WebIDL::ArrayBufferView>> get_random_values(JS::Handle<WebIDL::ArrayBufferView>) const;
WebIDL::ExceptionOr<String> random_uuid() const;
protected: