Re: [w3c/gamepad] Make eventInitDict param optional in GamepadEvent constructor (PR #217)

weinig left a comment (w3c/gamepad#217)

Other than matching current implementations, is there a reason/use case for a null `gamepad` on GamepadEvent. In WebKit at least, the engine will never create a `GamepadEvent` with a null `Gamepad` (other than in this case where the user constructs it from JS). Is there reason to think there is a compat issue with fixing engines to require it?

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

Message ID: <w3c/gamepad/pull/217/c3769877122@github.com>

Received on Monday, 19 January 2026 19:47:32 UTC