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

Re: [deviceorientation] Invalid IDL in DeviceMotionEventInit

From: Reilly Grant via GitHub <sysbot+gh@w3.org>
Date: Fri, 21 Sep 2018 21:18:09 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-423673360-1537564688-sysbot+gh@w3.org>
> Every member of a dictionary that is not marked as required is already optional. The `?` really doesn't do anything since both "null" and "undefined" get converted to a dictionary the same way anyway. So getting rid of the `?` shouldn't have any behavioral effect (although it's hard to discuss what the behavior is of what is written now, since what is written isn't valid WebIDL to begin with).

That's a good point.

GitHub Notification of comment by reillyeon
Please view or discuss this issue at https://github.com/w3c/deviceorientation/issues/54#issuecomment-423673360 using your GitHub account
Received on Friday, 21 September 2018 21:18:10 UTC

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