[w3c/gamepad] GamepadHapticActuator.playEffect() algorithm seems wrong with regards to `[[playingEffectPromise]]` (Issue #179)

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