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

Re: [battery] Allow use in same-origin children, add Feature Policy integration

From: Mounir Lamouri via GitHub <sysbot+gh@w3.org>
Date: Wed, 10 Jan 2018 12:47:43 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-356592456-1515588437-sysbot+gh@w3.org>
So, looking at the numbers, results from `UseCounter::CountIfFeatureWouldBeBlockedByFeaturePolicy` is that 90% of calls would be blocked. Also, 60% of calls are made on an insecure origin.

It sounds that the restrictions would virtually shut down the API usage. Now, I'm not fully against as maybe it is being abused but we should be careful and analyse the impact. Ideally, it would be great to have an idea of which websites are using the API but there is no good tools for this :(

GitHub Notification of comment by mounirlamouri
Please view or discuss this issue at https://github.com/w3c/battery/pull/13#issuecomment-356592456 using your GitHub account
Received on Wednesday, 10 January 2018 12:50:56 UTC

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