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:
parent
04c094343f
commit
eab20129b9
3 changed files with 8 additions and 9 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue