Skip to content

Commit a40b80a

Browse files
committed
Clarify 'get the ShadowRealm global object'.
1 parent 76a9a4a commit a40b80a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source

+3-3
Original file line numberDiff line numberDiff line change
@@ -96625,15 +96625,15 @@ import "https://example.com/foo/../module2.mjs";</code></pre>
9662596625
<var>thisValue</var>, perform the following steps:
9662696626

9662796627
<ol>
96628+
<li><p><span>Assert</span>: <var>calleeRealm</var> is a <span>synthetic realm</span></p></li>
9662896629
<li><p>If <var>thisValue</var> is null or undefined, return
9662996630
<var>calleeRealm</var>.[[GlobalObject]].</p></li>
9663096631
<li><p>If <span data-x="js-Type">Type</span>(<var>thisValue</var>) is not Object, then throw a
9663196632
TypeError.</p></li>
9663296633
<li><p>If <var>thisValue</var> is not a <span>global object</span>, then throw a
9663396634
TypeError.</p></li>
96634-
<li><p>If <var>thisValue</var>'s <span data-x="concept-global-object-realm">realm</span>'s <span
96635-
data-x="concept-realm-settings-object">environment settings object</span> is not a
96636-
<span>synthetic realm settings object</span>, then throw a TypeError.</p></li>
96635+
<li><p><span>Assert</span>: <var>thisValue</var> is
96636+
<var>calleeRealm</var>.[[GlobalObject]].</p></li>
9663796637
<li><p>Return <var>thisValue</var>.</p></li>
9663896638
</ol>
9663996639

0 commit comments

Comments
 (0)