- From: Chris Dumez <notifications@github.com>
- Date: Wed, 11 Jan 2023 08:00:37 -0800
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 11 January 2023 16:00:49 UTC
GamepadHapticActuator.playEffect() algorithm seems wrong with regards to `[[playingEffectPromise]]`: - https://w3c.github.io/gamepad/extensions.html#dom-gamepadhapticactuator-playeffect Step 4 says to *queue a task* to set `[[playingEffectPromise]]` to undefined. Step 6 says to let `[[playingEffectPromise]]` be a new promise. I believe The queued in task 4 would thus clear the new promise instead of the one from the previously playing effect. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/gamepad/issues/179 You are receiving this because you are subscribed to this thread. Message ID: <w3c/gamepad/issues/179@github.com>
Received on Wednesday, 11 January 2023 16:00:49 UTC