Re: [w3c/gamepad] Integrate with WebDriver and WebDriver BiDi for automation (PR #224)

@sadym-chromium commented on this pull request.



> +            <pre class="cddl">
+              emulation.RemoveSimulatedDevice = {
+                method: "emulation.removeSimulatedDevice",
+                params: emulation.RemoveSimulatedDeviceParams,
+              }
+              Returns: void
+            </pre>
+            <p>
+              The [=remote end steps=] with command parameters |params| are:
+            </p>
+            <ol>
+              <li>
+                Let |simulatedGamepads| be the [=simulated gamepad map=].
+              </li>
+              <li>
+                If |simulatedGamepads|[|params|.|deviceId|] does not [=map/exist=], abort these steps.

```suggestion
                If |simulatedGamepads|[|params|.|deviceId|] does not [=map/exist=], return [=error=]
                with [=error code=] [=invalid argument=].
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/pull/224#pullrequestreview-3252420105
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/gamepad/pull/224/review/3252420105@github.com>

Received on Monday, 22 September 2025 12:28:29 UTC