Skip to content

Commit 9d8d9ec

Browse files
committed
Rename WindowOrWorkerOrShadowRealmGlobalScope to UniversalGlobalScope
1 parent caf4947 commit 9d8d9ec

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

source

+8-8
Original file line numberDiff line numberDiff line change
@@ -10659,7 +10659,7 @@ o.myself = o;</code></pre>
1065910659

1066010660
<div w-nodev>
1066110661

10662-
<p>The <dfn method for="WindowOrWorkerOrShadowRealmGlobalScope"
10662+
<p>The <dfn method for="UniversalGlobalScope"
1066310663
data-x="dom-structuredClone"><code>structuredClone(<var>value</var>,
1066410664
<var>options</var>)</code></dfn> method steps are:</p>
1066510665

@@ -112770,16 +112770,16 @@ interface mixin <dfn interface>WindowEventHandlers</dfn> {
112770112770
</div>
112771112771

112772112772

112773-
<h3 id="windoworworkerorshadowrealmglobalscope-mixin">The <code>WindowOrWorkerOrShadowRealmGlobalScope</code> mixin</h3>
112773+
<h3 id="universalglobalscope-mixin">The <code>UniversalGlobalScope</code> mixin</h3>
112774112774

112775-
<p>The <code>WindowOrWorkerOrShadowRealmGlobalScope</code> mixin is for use of APIs that are to be exposed on
112776-
<code>Window</code> and <code>WorkerGlobalScope</code> objects.</p>
112775+
<p>The <code>UniversalGlobalScope</code> mixin is for use of APIs that are to be exposed on all
112776+
global objects.</p>
112777112777

112778112778
<p class="note">Other standards are encouraged to further extend it using <code data-x="">partial
112779-
interface mixin <span>WindowOrWorkerOrShadowRealmGlobalScope</span> { &hellip; };</code> along with an
112779+
interface mixin <span>UniversalGlobalScope</span> { &hellip; };</code> along with an
112780112780
appropriate reference.</p>
112781112781

112782-
<pre><code class="idl">interface mixin <dfn interface>WindowOrWorkerOrShadowRealmGlobalScope</dfn> {
112782+
<pre><code class="idl">interface mixin <dfn interface>UniversalGlobalScope</dfn> {
112783112783
// base64 utility methods
112784112784
DOMString <span data-x="dom-btoa">btoa</span>(DOMString data);
112785112785
ByteString <span data-x="dom-atob">atob</span>(DOMString data);
@@ -112830,15 +112830,15 @@ interface mixin <dfn interface>WindowEventHandlers</dfn> {
112830112830

112831112831
<div w-nodev>
112832112832

112833-
<p>The <dfn method for="WindowOrWorkerOrShadowRealmGlobalScope" data-x="dom-btoa"><code
112833+
<p>The <dfn method for="UniversalGlobalScope" data-x="dom-btoa"><code
112834112834
id="dom-windowbase64-btoa">btoa(<var>data</var>)</code></dfn> method must throw an
112835112835
<span>"<code>InvalidCharacterError</code>"</span> <code>DOMException</code> if <var>data</var>
112836112836
contains any character whose code point is greater than U+00FF. Otherwise, the user agent must
112837112837
convert <var>data</var> to a byte sequence whose <var>n</var>th byte is the eight-bit
112838112838
representation of the <var>n</var>th code point of <var>data</var>, and then must apply
112839112839
<span>forgiving-base64 encode</span> to that byte sequence and return the result.</p>
112840112840

112841-
<p>The <dfn method for="WindowOrWorkerOrShadowRealmGlobalScope" data-x="dom-atob"><code
112841+
<p>The <dfn method for="UniversalGlobalScope" data-x="dom-atob"><code
112842112842
id="dom-windowbase64-atob">atob(<var>data</var>)</code></dfn> method steps are:</p>
112843112843

112844112844
<ol>

0 commit comments

Comments
 (0)