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

Re: [deviceorientation] PermissionState is already defined in Permission API (#82)

From: Chris Dumez via GitHub <sysbot+gh@w3.org>
Date: Wed, 04 Sep 2019 15:37:50 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-527957433-1567611469-sysbot+gh@w3.org>
I don't really have an opinion here. The name of the enum is not Web-exposed so changing it to whatever would be fine. WebKit does not support for permission API but reusing PermissionState from that spec would equally be fine and would also not require any code change on our side. Note that technically, I copied the Notification API and that one does not use the enum from the Permission API either:

It does use a less generic name for the enum though.

GitHub Notification of comment by cdumez
Please view or discuss this issue at https://github.com/w3c/deviceorientation/issues/82#issuecomment-527957433 using your GitHub account
Received on Wednesday, 4 September 2019 15:37:51 UTC

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