- From: Kagami Sascha Rosylight via GitHub <sysbot+gh@w3.org>
- Date: Tue, 31 Oct 2023 21:23:58 +0000
- To: public-device-apis-log@w3.org
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 https://github.com/w3c/deviceorientation/issues/91#issuecomment-1788057442 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 31 October 2023 21:24:00 UTC