Skip to content

Commit cd40a65

Browse files
committed
return a list and use undefined for global this binding instead of null
1 parent fb819cb commit cd40a65

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

source

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -106076,8 +106076,8 @@ interface <dfn interface>NotRestoredReasons</dfn> {
106076106076
<li><p>Let <var>window</var> be a new <code>Window</code> object created in
106077106077
<var>executionContext</var>'s Realm component.</p></li>
106078106078

106079-
<li><p>Return (<var>window</var>, <var>browsingContext</var>'s <code>WindowProxy</code>
106080-
object).</p></li>
106079+
<li><p>Return « <var>window</var>, <var>browsingContext</var>'s <code>WindowProxy</code>
106080+
object ».</p></li>
106081106081
</ol>
106082106082
</li>
106083106083

@@ -112985,8 +112985,8 @@ location.href = '#foo';</code></pre>
112985112985
<li><p>Let <var>newWindow</var> be a new <code>Window</code> object created in
112986112986
<var>executionContext</var>'s Realm component.</p></li>
112987112987

112988-
<li><p>Return (<var>newWindow</var>, <var>browsingContext</var>'s <code>WindowProxy</code>
112989-
object).</p></li>
112988+
<li><p>Return « <var>newWindow</var>, <var>browsingContext</var>'s <code>WindowProxy</code>
112989+
object ».</p></li>
112990112990
</ol>
112991112991
</li>
112992112992

@@ -117150,7 +117150,8 @@ new PaymentRequest(&hellip;); // Allowed to use
117150117150
<p>To <dfn data-x="creating a new realm" export id="creating-a-new-javascript-realm">create a new
117151117151
realm</dfn> in an <span>agent</span> <var>agent</var>, given an <span>abstract closure</span>
117152117152
<var>customizations</var> taking a <span>JavaScript execution context</span> and returning a
117153-
tuple of an object (the global object) and an object or null (the global <b>this</b> binding):</p>
117153+
<span>list</span> containing an object (the global object) and an object or undefined (the
117154+
global <b>this</b> binding):</p>
117154117155

117155117156
<ol>
117156117157
<li>
@@ -135479,7 +135480,7 @@ interface <dfn interface>SharedWorkerGlobalScope</dfn> : <span>WorkerGlobalScope
135479135480
<li><p>Let <var>workerScope</var> be a new object of type <var>globalScopeType</var>
135480135481
created in <var>executionContext</var>'s Realm component.</p></li>
135481135482

135482-
<li><p>Return (<var>workerScope</var>, null).</p></li>
135483+
<li><p>Return « <var>workerScope</var>, undefined ».</p></li>
135483135484
</ol>
135484135485
</li>
135485135486

@@ -137089,7 +137090,7 @@ interface <dfn interface>WorkletGlobalScope</dfn> {};</code></pre>
137089137090
<li><p>Let <var>workletScope</var> be a new object of type <var>workletGlobalScopeType</var>
137090137091
created in <var>executionContext</var>'s Realm component.</p></li>
137091137092

137092-
<li><p>Return (<var>workletScope</var>, null).</p></li>
137093+
<li><p>Return « <var>workletScope</var>, undefined ».</p></li>
137093137094
</ol>
137094137095
</li>
137095137096

0 commit comments

Comments
 (0)