From c0acec53b729686dced3acd12269862026162620 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Tue, 24 Sep 2024 15:04:48 +0200 Subject: [PATCH] Rename WindowOrWorkerOrShadowRealmGlobalScope to UniversalGlobalScope --- source | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/source b/source index 480c5720dbf..029e7213a39 100644 --- a/source +++ b/source @@ -10661,7 +10661,7 @@ o.myself = o;
-

The The structuredClone(value, options) method steps are:

@@ -112755,16 +112755,16 @@ interface mixin WindowEventHandlers {
-

The WindowOrWorkerOrShadowRealmGlobalScope mixin

+

The UniversalGlobalScope mixin

-

The WindowOrWorkerOrShadowRealmGlobalScope mixin is for use of APIs that are to be exposed on - Window and WorkerGlobalScope objects.

+

The UniversalGlobalScope mixin is for use of APIs that are to be exposed on all + global objects.

Other standards are encouraged to further extend it using partial - interface mixin WindowOrWorkerOrShadowRealmGlobalScope { … }; along with an + interface mixin UniversalGlobalScope { … }; along with an appropriate reference.

-
interface mixin WindowOrWorkerOrShadowRealmGlobalScope {
+  
interface mixin UniversalGlobalScope {
   // base64 utility methods
   DOMString btoa(DOMString data);
   ByteString atob(DOMString data);
@@ -112815,7 +112815,7 @@ interface mixin WindowEventHandlers {
 
   
-

The The btoa(data) method must throw an "InvalidCharacterError" DOMException if data contains any character whose code point is greater than U+00FF. Otherwise, the user agent must @@ -112823,7 +112823,7 @@ interface mixin WindowEventHandlers { representation of the nth code point of data, and then must apply forgiving-base64 encode to that byte sequence and return the result.

-

The The atob(data) method steps are: