Skip to content

Commit

Permalink
Use PerformPromiseThen to perform some steps once a promise is settled
Browse files Browse the repository at this point in the history
This partially addresses #490 (comment).
  • Loading branch information
Ms2ger authored and domenic committed Feb 12, 2019
1 parent eb67e79 commit 49d911b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.bs
Expand Up @@ -142,6 +142,7 @@ urlPrefix: https://tc39.github.io/ecma262/; spec: ECMA-262
text: OrdinaryGetOwnProperty; url: sec-ordinarygetownproperty
text: OrdinaryPreventExtensions; url: sec-ordinarypreventextensions
text: OrdinarySetWithOwnDescriptor; url: sec-ordinarysetwithowndescriptor
text: PerformPromiseThen; url: sec-performpromisethen
text: Set; url: sec-set-o-p-v-throw
text: SetFunctionLength; url: sec-setfunctionlength
text: SetFunctionName; url: sec-setfunctionname
Expand Down Expand Up @@ -7896,7 +7897,7 @@ objects.
return <emu-val>undefined</emu-val>.
1. Otherwise, return the result of performing any steps that were required to be run if the promise was rejected,
with |reason| as the rejection reason.
1. Return [=!=] <a abstract-op>Call</a>({{%PromiseProto_then%}}, |promise|, «|onFulfilled|, |onRejected|»).
1. Return [=!=] [$PerformPromiseThen$](|promise|, |onFulfilled|, |onRejected|).
</div>

<p class="issue">
Expand Down

0 comments on commit 49d911b

Please sign in to comment.