W3C home > Mailing lists > Public > public-geolocation@w3.org > March 2017

[deviceorientation] DeviceMotionEvent.interval is nullable but must be initialized to 0

From: Reilly Grant via GitHub <sysbot+gh@w3.org>
Date: Fri, 17 Mar 2017 19:27:41 +0000
To: public-geolocation@w3.org
Message-ID: <issues.opened-215100439-1489778859-sysbot+gh@w3.org>
reillyeon has just created a new issue for https://github.com/w3c/deviceorientation:

== DeviceMotionEvent.interval is nullable but must be initialized to 0 ==
The `interval` attribute is defined in IDL as nullable however the specification also says, "[t]he `interval` attribute must return the value it was initialized to. When the object is created, this attribute must be initialized to 0."

These appear to be contradictory because I believe it is impossible to differentiate between an intent to initialize the attribute to `null` and no initialization at all.

Please view or discuss this issue at https://github.com/w3c/deviceorientation/issues/39 using your GitHub account
Received on Friday, 17 March 2017 19:27:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:51:15 UTC