- From: Raphael Kubo da Costa via GitHub <sysbot+gh@w3.org>
 - Date: Tue, 31 Oct 2023 14:45:11 +0000
 - To: public-geolocation@w3.org
 
It's been a while, but I think Blink's behavior here is correct (see also https://github.com/w3c/deviceorientation/issues/54#issuecomment-425508807).
Gecko's behavior of making `new DeviceMotionEvent("type").acceleration` return a `DeviceAcceleration` instance whose attributes are null instead of returning `null` occurs because its [DeviceMotionEventInit definition](https://searchfox.org/mozilla-central/rev/eadfec923e2b9c927ade8d0dd4f08a82da50a8a9/dom/webidl/DeviceMotionEvent.webidl#49) does not conform to the spec (it declares `acceleration`, `accelerationIncludingGravity` and `rotationRate` with default values).
-- 
GitHub Notification of comment by rakuco
Please view or discuss this issue at https://github.com/w3c/deviceorientation/issues/91#issuecomment-1787364752 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 14:45:13 UTC