Re: [w3c/gamepad] Add vibrationActuator to the main spec (PR #190)

@gabrielsanbrito commented on this pull request.



> +            active=] or |document|'s [=Document/visibility state=] is `"hidden"`, return
+            [=a promise resolved with=] {{GamepadHapticsResult/"preempted"}}.

Ok. I am editing it to return a promise rejected with an "InvalidStateError" DOMException both for `playEffect` and `reset`.

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

Message ID: <w3c/gamepad/pull/190/review/1822322177@github.com>

Received on Monday, 15 January 2024 22:55:31 UTC