W3C home > Mailing lists > Public > public-geolocation@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-geolocation@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:
https://notifications.spec.whatwg.org/#enumdef-notificationpermission

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 : Friday, 17 January 2020 19:51:17 UTC