From 1c3e77d8a409af753ee4c4cda83f28019bba6124 Mon Sep 17 00:00:00 2001 From: bcoe Date: Mon, 18 Jan 2021 12:08:31 -0800 Subject: [PATCH 1/3] refactor: move randomUUID to Crypto --- index.html | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/index.html b/index.html index f73048a..08bb114 100644 --- a/index.html +++ b/index.html @@ -40,9 +40,9 @@

This specification describes an API for generating character encoded Universally Unique Identifiers (UUID) based on [[RFC4122]], available - as a global method on Window - and WorkerGlobalScope - objects. + as a method on the + Crypto + interface.

@@ -85,14 +85,15 @@

Developers "re-inventing the wheel" is potentially harmful

Description

-
-

Extensions to the WindowOrWorkerGlobalScope interface

+
+

Extensions to the Crypto interface

- This document extends the WindowOrWorkerGlobalScope - 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 Date: Mon, 18 Jan 2021 12:19:01 -0800 Subject: [PATCH 2/3] rerun IP check From a56fd411fd4f1d3a13d66086b32ad1eb151b77ea Mon Sep 17 00:00:00 2001 From: "Benjamin E. Coe" Date: Tue, 19 Jan 2021 12:44:14 -0800 Subject: [PATCH 3/3] Update index.html Co-authored-by: Domenic Denicola --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 08bb114..a09800f 100644 --- a/index.html +++ b/index.html @@ -93,7 +93,7 @@

Extensions to the Crypto interface

         [Exposed=(Window,Worker)]
-        partial interface mixin Crypto {
+        partial interface Crypto {
           DOMString randomUUID();
         };