Lines Matching defs:onFinally
1035 // 27.2.5.3 Promise.prototype.finally ( onFinally )
1054 JSHandle<JSTaggedValue> onFinally = BuiltinsBase::GetCallArg(argv, 0);
1062 // 5. If IsCallable(onFinally) is false, then
1063 if (!onFinally->IsCallable()) {
1064 // a. Let thenFinally be onFinally.
1065 // b. Let catchFinally be onFinally.
1066 thenFinally = onFinally;
1067 catchFinally = onFinally;
1075 // d. Set thenFinally.[[OnFinally]] to onFinally.
1077 thenFinallyFun->SetOnFinally(thread, onFinally);
1084 // h. Set catchFinally.[[OnFinally]] to onFinally.
1086 catchFinallyFun->SetOnFinally(thread, onFinally);