W3C home > Mailing lists > Public > public-device-apis-log@w3.org > September 2018

Re: [deviceorientation] Invalid IDL in DeviceMotionEventInit

From: Boris Zbarsky via GitHub <sysbot+gh@w3.org>
Date: Sun, 23 Sep 2018 00:16:31 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-423782331-1537661790-sysbot+gh@w3.org>
> 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

This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:55 UTC