Bug 250411 - Gamepad.vibrationActuator should be nullable
Summary: Gamepad.vibrationActuator should be nullable
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on: 250410
Blocks: 248989
  Show dependency treegraph
 
Reported: 2023-01-10 14:31 PST by Chris Dumez
Modified: 2023-01-11 16:39 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2023-01-10 14:31:30 PST
Gamepad.vibrationActuator should be nullable:
- https://github.com/w3c/gamepad/issues/178

Gamepad.vibrationActuator is supposed to return null if the gamepad doesn't support dual-rumble:
- https://w3c.github.io/gamepad/extensions.html#gamepadhapticactuator-interface (Construction section)
Comment 1 Chris Dumez 2023-01-11 13:42:15 PST
Pull request: https://github.com/WebKit/WebKit/pull/8539
Comment 2 EWS 2023-01-11 16:38:53 PST
Committed 258812@main (3d4e479d3a85): <https://commits.webkit.org/258812@main>

Reviewed commits have been landed. Closing PR #8539 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-01-11 16:39:22 PST
<rdar://problem/104145567>