From 1c3e77d8a409af753ee4c4cda83f28019bba6124 Mon Sep 17 00:00:00 2001
From: bcoe
This specification describes an API for generating character encoded
Universally Unique Identifiers (UUID) based on [[RFC4122]], available
- as a global method on
- This document extends the Window
- and WorkerGlobalScope
- objects.
+ as a method on the
+ Crypto
+ interface.
Developers "re-inventing the wheel" is potentially harmful
Description
- Extensions to the
+ WindowOrWorkerGlobalScope
interfaceExtensions to the
Crypto
interfaceWindowOrWorkerGlobalScope
- interface defined by [[!HTML]].
+ The Crypto interface is
+ defined in [[!WebCryptoAPI]].
- partial interface mixin WindowOrWorkerGlobalScope {
+ [Exposed=(Window,Worker)]
+ partial interface mixin Crypto {
DOMString randomUUID();
};
From 81cffa307c05de6d13385469a6bbaed4a3fccf58 Mon Sep 17 00:00:00 2001
From: bcoe Extensions to the
Crypto
interface
[Exposed=(Window,Worker)] - partial interface mixin Crypto { + partial interface Crypto { DOMString randomUUID(); };