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

@mounirlamouri, I don't think we've added a use counter for that into Chrome.

When we were looking at a similar behaviour change for the Fullscreen API, I think we added one that fired every time a same-origin page was blocked from entering fullscreen.

We could add a similar counter here for battery-status, as well as one that fires when a same-origin-as-root-but-embedded-cross-origin page successfully uses the API. If we do it quickly enough, we should be be able to get that change merged for M63, to get some actual data before the end of the year.

-- 
GitHub Notification of comment by clelland
Please view or discuss this issue at https://github.com/w3c/battery/pull/13#issuecomment-338669879 using your GitHub account

Received on Monday, 23 October 2017 14:05:22 UTC