()
| 619 | const {args, method, str, target} = actionInfo; |
| 620 | const dereferencedArgs = dereferenceArgsVariables(args, event, opt_args); |
| 621 | const invokeAction = () => { |
| 622 | const node = this.getActionNode_(target); |
| 623 | if (!node) { |
| 624 | this.error_(`Target "${target}" not found for action [${str}].`); |
| 625 | return; |
| 626 | } |
| 627 | const invocation = new ActionInvocation( |
| 628 | node, |
| 629 | method, |
| 630 | dereferencedArgs, |
| 631 | source, |
| 632 | action.node, |
| 633 | event, |
| 634 | trust, |
| 635 | actionEventType, |
| 636 | node.tagName || target, |
| 637 | sequenceId |
| 638 | ); |
| 639 | return this.invoke_(invocation); |
| 640 | }; |
| 641 | // Wait for the previous action, if any. |
| 642 | currentPromise = currentPromise |
| 643 | ? currentPromise.then(invokeAction) |
nothing calls this directly
no test coverage detected