Re: [deviceorientation] Invalid IDL in DeviceMotionEventInit

> For reference for the current behavior I recommend looking at device_orientation/motion/optional-event-properties.html.

OK, that test is definitely testing for behavior that is not allowed by the IDL spec.  The test that passes `acceleration: null` should have the same behavior as passing `acceleration: []`, for example.  It looks like the test was written based on an implementation, not based on the spec... :(

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

Received on Sunday, 23 September 2018 00:16:33 UTC