From a40b80ace49b3d93bcafba8d89a192c0bf635d0d Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Wed, 19 Oct 2022 09:31:44 +0200 Subject: [PATCH] Clarify 'get the ShadowRealm global object'. --- source | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source b/source index 312a3937f9d..bdae1235ae2 100644 --- a/source +++ b/source @@ -96625,15 +96625,15 @@ import "https://example.com/foo/../module2.mjs"; thisValue, perform the following steps:
    +
  1. Assert: calleeRealm is a synthetic realm

  2. If thisValue is null or undefined, return calleeRealm.[[GlobalObject]].

  3. If Type(thisValue) is not Object, then throw a TypeError.

  4. If thisValue is not a global object, then throw a TypeError.

  5. -
  6. If thisValue's realm's environment settings object is not a - synthetic realm settings object, then throw a TypeError.

  7. +
  8. Assert: thisValue is + calleeRealm.[[GlobalObject]].

  9. Return thisValue.