@@ -10659,7 +10659,7 @@ o.myself = o;</code></pre>
10659
10659
10660
10660
<div w-nodev>
10661
10661
10662
- <p>The <dfn method for="WindowOrWorkerOrShadowRealmGlobalScope "
10662
+ <p>The <dfn method for="UniversalGlobalScope "
10663
10663
data-x="dom-structuredClone"><code>structuredClone(<var>value</var>,
10664
10664
<var>options</var>)</code></dfn> method steps are:</p>
10665
10665
@@ -112770,16 +112770,16 @@ interface mixin <dfn interface>WindowEventHandlers</dfn> {
112770
112770
</div>
112771
112771
112772
112772
112773
- <h3 id="windoworworkerorshadowrealmglobalscope -mixin">The <code>WindowOrWorkerOrShadowRealmGlobalScope </code> mixin</h3>
112773
+ <h3 id="universalglobalscope -mixin">The <code>UniversalGlobalScope </code> mixin</h3>
112774
112774
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>
112777
112777
112778
112778
<p class="note">Other standards are encouraged to further extend it using <code data-x="">partial
112779
- interface mixin <span>WindowOrWorkerOrShadowRealmGlobalScope </span> { … };</code> along with an
112779
+ interface mixin <span>UniversalGlobalScope </span> { … };</code> along with an
112780
112780
appropriate reference.</p>
112781
112781
112782
- <pre><code class="idl">interface mixin <dfn interface>WindowOrWorkerOrShadowRealmGlobalScope </dfn> {
112782
+ <pre><code class="idl">interface mixin <dfn interface>UniversalGlobalScope </dfn> {
112783
112783
// base64 utility methods
112784
112784
DOMString <span data-x="dom-btoa">btoa</span>(DOMString data);
112785
112785
ByteString <span data-x="dom-atob">atob</span>(DOMString data);
@@ -112830,15 +112830,15 @@ interface mixin <dfn interface>WindowEventHandlers</dfn> {
112830
112830
112831
112831
<div w-nodev>
112832
112832
112833
- <p>The <dfn method for="WindowOrWorkerOrShadowRealmGlobalScope " data-x="dom-btoa"><code
112833
+ <p>The <dfn method for="UniversalGlobalScope " data-x="dom-btoa"><code
112834
112834
id="dom-windowbase64-btoa">btoa(<var>data</var>)</code></dfn> method must throw an
112835
112835
<span>"<code>InvalidCharacterError</code>"</span> <code>DOMException</code> if <var>data</var>
112836
112836
contains any character whose code point is greater than U+00FF. Otherwise, the user agent must
112837
112837
convert <var>data</var> to a byte sequence whose <var>n</var>th byte is the eight-bit
112838
112838
representation of the <var>n</var>th code point of <var>data</var>, and then must apply
112839
112839
<span>forgiving-base64 encode</span> to that byte sequence and return the result.</p>
112840
112840
112841
- <p>The <dfn method for="WindowOrWorkerOrShadowRealmGlobalScope " data-x="dom-atob"><code
112841
+ <p>The <dfn method for="UniversalGlobalScope " data-x="dom-atob"><code
112842
112842
id="dom-windowbase64-atob">atob(<var>data</var>)</code></dfn> method steps are:</p>
112843
112843
112844
112844
<ol>
0 commit comments