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

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