mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
Implement crypto.randomUUID() (#33158)
Signed-off-by: webbeef <me@webbeef.org>
This commit is contained in:
parent
663a92a5df
commit
9a1051c917
6 changed files with 16 additions and 65 deletions
|
@ -20,4 +20,8 @@ interface Crypto {
|
|||
//readonly attribute SubtleCrypto subtle;
|
||||
[Throws]
|
||||
ArrayBufferView getRandomValues(ArrayBufferView array);
|
||||
|
||||
[SecureContext]
|
||||
// UTF8String is not observably different from USVString
|
||||
USVString randomUUID();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue