Skip to content

Commit 49d911b

Browse files
Ms2gerdomenic
authored andcommitted
Use PerformPromiseThen to perform some steps once a promise is settled
This partially addresses #490 (comment).
1 parent eb67e79 commit 49d911b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ urlPrefix: https://tc39.github.io/ecma262/; spec: ECMA-262
142142
text: OrdinaryGetOwnProperty; url: sec-ordinarygetownproperty
143143
text: OrdinaryPreventExtensions; url: sec-ordinarypreventextensions
144144
text: OrdinarySetWithOwnDescriptor; url: sec-ordinarysetwithowndescriptor
145+
text: PerformPromiseThen; url: sec-performpromisethen
145146
text: Set; url: sec-set-o-p-v-throw
146147
text: SetFunctionLength; url: sec-setfunctionlength
147148
text: SetFunctionName; url: sec-setfunctionname
@@ -7896,7 +7897,7 @@ objects.
78967897
return <emu-val>undefined</emu-val>.
78977898
1. Otherwise, return the result of performing any steps that were required to be run if the promise was rejected,
78987899
with |reason| as the rejection reason.
7899-
1. Return [=!=] <a abstract-op>Call</a>({{%PromiseProto_then%}}, |promise|, «|onFulfilled|, |onRejected|»).
7900+
1. Return [=!=] [$PerformPromiseThen$](|promise|, |onFulfilled|, |onRejected|).
79007901
</div>
79017902

79027903
<p class="issue">

0 commit comments

Comments
 (0)