Re: [w3c/gamepad] GamepadEvent constructor is missing the type argument (#35)

Good point about making the gamepad dictionary member optional.

That said, Firefox and Chrome have the GamepadEventInit parameter as optional. The following WPT relies on it being optional too:
http://w3c-test.org/dom/events/Event-timestamp-high-resolution.html

I made it optional yesterday in WebKit to align with Firefox and Chrome.

As such, I would suggest updating the spec to match browsers?

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

Received on Friday, 22 September 2017 18:50:04 UTC