You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The abstract operation UpgradeToStage with arguments <i>entry</i> and <i>stage</i> performs the following steps:
527
+
527
528
<emu-alg>
528
529
1. Assert: _entry_ must have all of the internal slots of a ModuleStatus Instance (<a href="#module-status-internal-slots">5.5</a>).
529
530
1. Assert: Type(_stage_) is String.
@@ -770,7 +771,6 @@ The following steps are taken:
770
771
1. Let _entry_ be *this* value.
771
772
1. If Type(_entry_) is not Object, return a promise rejected with a new *TypeError* exception.
772
773
1. If _entry_ does not have all of the internal slots of a ModuleStatus Instance (<a href="#module-status-internal-slots">5.5</a>), return a promise rejected with a new *TypeError* exception.
773
-
1. If Type(_entry_) is not Object, throw a new *TypeError*.
774
774
1. Let _stageValue_ be ToString(_stage_).
775
775
1. RejectIfAbrupt(_stageValue_).
776
776
1. If IsValidStageValue(_stageValue_) is *false*, return a promise rejected with a new *RangeError* exception.
0 commit comments