Skip to content

Commit 88722e9

Browse files
committed
Rename WindowOrWorkerOrShadowRealmGlobalScope to UniversalGlobalScope
1 parent 1da63ab commit 88722e9

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
@@ -10661,7 +10661,7 @@ o.myself = o;</code></pre>
1066110661

1066210662
<div w-nodev>
1066310663

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

@@ -112755,16 +112755,16 @@ interface mixin <dfn interface>WindowEventHandlers</dfn> {
112755112755
</div>
112756112756

112757112757

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

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

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

112767-
<pre><code class="idl">interface mixin <dfn interface>WindowOrWorkerOrShadowRealmGlobalScope</dfn> {
112767+
<pre><code class="idl">interface mixin <dfn interface>UniversalGlobalScope</dfn> {
112768112768
// base64 utility methods
112769112769
DOMString <span data-x="dom-btoa">btoa</span>(DOMString data);
112770112770
ByteString <span data-x="dom-atob">atob</span>(DOMString data);
@@ -112815,15 +112815,15 @@ interface mixin <dfn interface>WindowEventHandlers</dfn> {
112815112815

112816112816
<div w-nodev>
112817112817

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

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

112829112829
<ol>

0 commit comments

Comments
 (0)