@@ -10661,7 +10661,7 @@ o.myself = o;</code></pre>
10661
10661
10662
10662
<div w-nodev>
10663
10663
10664
- <p>The <dfn method for="WindowOrWorkerOrShadowRealmGlobalScope "
10664
+ <p>The <dfn method for="UniversalGlobalScope "
10665
10665
data-x="dom-structuredClone"><code>structuredClone(<var>value</var>,
10666
10666
<var>options</var>)</code></dfn> method steps are:</p>
10667
10667
@@ -112755,16 +112755,16 @@ interface mixin <dfn interface>WindowEventHandlers</dfn> {
112755
112755
</div>
112756
112756
112757
112757
112758
- <h3 id="windoworworkerorshadowrealmglobalscope -mixin">The <code>WindowOrWorkerOrShadowRealmGlobalScope </code> mixin</h3>
112758
+ <h3 id="universalglobalscope -mixin">The <code>UniversalGlobalScope </code> mixin</h3>
112759
112759
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>
112762
112762
112763
112763
<p class="note">Other standards are encouraged to further extend it using <code data-x="">partial
112764
- interface mixin <span>WindowOrWorkerOrShadowRealmGlobalScope </span> { … };</code> along with an
112764
+ interface mixin <span>UniversalGlobalScope </span> { … };</code> along with an
112765
112765
appropriate reference.</p>
112766
112766
112767
- <pre><code class="idl">interface mixin <dfn interface>WindowOrWorkerOrShadowRealmGlobalScope </dfn> {
112767
+ <pre><code class="idl">interface mixin <dfn interface>UniversalGlobalScope </dfn> {
112768
112768
// base64 utility methods
112769
112769
DOMString <span data-x="dom-btoa">btoa</span>(DOMString data);
112770
112770
ByteString <span data-x="dom-atob">atob</span>(DOMString data);
@@ -112815,15 +112815,15 @@ interface mixin <dfn interface>WindowEventHandlers</dfn> {
112815
112815
112816
112816
<div w-nodev>
112817
112817
112818
- <p>The <dfn method for="WindowOrWorkerOrShadowRealmGlobalScope " data-x="dom-btoa"><code
112818
+ <p>The <dfn method for="UniversalGlobalScope " data-x="dom-btoa"><code
112819
112819
id="dom-windowbase64-btoa">btoa(<var>data</var>)</code></dfn> method must throw an
112820
112820
<span>"<code>InvalidCharacterError</code>"</span> <code>DOMException</code> if <var>data</var>
112821
112821
contains any character whose code point is greater than U+00FF. Otherwise, the user agent must
112822
112822
convert <var>data</var> to a byte sequence whose <var>n</var>th byte is the eight-bit
112823
112823
representation of the <var>n</var>th code point of <var>data</var>, and then must apply
112824
112824
<span>forgiving-base64 encode</span> to that byte sequence and return the result.</p>
112825
112825
112826
- <p>The <dfn method for="WindowOrWorkerOrShadowRealmGlobalScope " data-x="dom-atob"><code
112826
+ <p>The <dfn method for="UniversalGlobalScope " data-x="dom-atob"><code
112827
112827
id="dom-windowbase64-atob">atob(<var>data</var>)</code></dfn> method steps are:</p>
112828
112828
112829
112829
<ol>
0 commit comments