1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 10:08:10 +00:00

LibWeb: Add Crypto.randomUUID()

This commit is contained in:
stelar7 2022-03-30 15:58:02 +02:00 committed by Andreas Kling
parent 9a60b697aa
commit b526a10d76
3 changed files with 58 additions and 0 deletions

View file

@ -27,6 +27,7 @@ public:
NonnullRefPtr<SubtleCrypto> subtle() const { return m_subtle; }
DOM::ExceptionOr<JS::Value> get_random_values(JS::Value array) const;
String random_uuid() const;
private:
Crypto();