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

The difference doesn't really come up in that case. Either you have the field or you don't. But I also don't really see the big problem with initializing the dictionary members to null either. That seems just as valid as initializing the accessor to null, except with possibly fewer "undefined is not an object" exceptions for consumers. (The main problem is probably that it doesn't match existing behavior?)

-- 
GitHub Notification of comment by annevk
Please view or discuss this issue at https://github.com/w3c/deviceorientation/issues/91#issuecomment-1975077179 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 3 March 2024 07:51:43 UTC