Re: [deviceorientation] DeviceMotionEvent atttributes can't be null per current IDL (#91)

Generally, not passing an init dictionary should be same as passing `{}`, as you can see in `optional DeviceMotionEventInit eventInitDict  = {}`. I would expect the rule to be recursively applied here and thus `new DeviceMotion("type")` should behave same as `new DeviceMotion("type", {})` and `new DeviceMotion("type", { accelaration: {}, accelerationIncludingGravity: {}, rotationRate: {} })`, given that each member is also an init dictionary.

GitHub Notification of comment by saschanaz
Please view or discuss this issue at using your GitHub account

Sent via github-notify-ml as configured in

Received on Tuesday, 31 October 2023 21:24:00 UTC