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

@marcoscaceres commented on this pull request.



> +        </h3>
+        <p>
+          When the |document|'s [=Document/visibility state=] becomes `"hidden"`, run
+          these steps for each {{GamepadHapticActuator}}
+          |actuator:GamepadHapticActuator|:
+        </p>
+        <ol>
+          <li>If
+          |actuator|.{{GamepadHapticActuator/[[playingEffectPromise]]}} is
+          `null`, abort these steps.
+          </li>
+          <li>[=Queue a global task=] on the [=relevant global object=] of
+          |actuator| using the [=gamepad task source=] to run the following
+          steps:
+            <ol>
+              <li>[=Resolve=]

```suggestion
              <li>If |actuator|.{{GamepadHapticActuator/[[playingEffectPromise]]}} is
          `null`, abort these steps.</li>
              <li>[=Resolve=]
```

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

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

Received on Monday, 15 January 2024 05:50:05 UTC