The "handle an incoming message" algorithm expects every command to return either a "success" value or an "error" value:
1. Let |result| be the result of running the [=remote end steps=] for |command| given |session| and [=command parameters=] |matched|["`params`"].
2. If |result| is an [=error=], then [=respond with an error=] given |connection|, |command id|, and |result|'s [=error code=], and finally return.
3. Let |value| be |result|'s data.
Update the "interaction.pressKeys" algorithm to satisfy this expectation.
The "handle an incoming message" algorithm expects every command to return either a "success" value or an "error" value:
Update the "interaction.pressKeys" algorithm to satisfy this expectation.
Preview | Diff