W3C home > Mailing lists > Public > public-device-apis-log@w3.org > June 2017

Re: [battery] Allow use from within secure context and top-level browsing context only

From: Mounir Lamouri via GitHub <sysbot+gh@w3.org>
Date: Wed, 14 Jun 2017 15:57:50 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-308476908-1497455868-sysbot+gh@w3.org>
I know that some websites use the Battery API to have an idea of the battery consumption changes when running experiments. For websites like YouTube, I think doing something like this on iframes in addition to main frame would make sense. I do not know if they do though. It would be easy to check if the API is used in a YT iframe.

-- 
GitHub Notification of comment by mounirlamouri
Please view or discuss this issue at https://github.com/w3c/battery/issues/10#issuecomment-308476908 using your GitHub account
Received on Wednesday, 14 June 2017 15:57:56 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 12:18:53 UTC