[battery-status] A promise/BatteryManager per browsing context

Hi All,

Domenic opened an issue [1] for the Battery Status API, asking whether it is intentional that the same promise and battery manager are created per browsing context, instead of per Document, or per Window.

Based on my initial investigation (see [1]), fixing this requires a normative change to the spec to align it with the implementations. Probably has implications to the Rec Track advancement.

Please follow up on GitHub as to keep related discussion in a one place. Just wanted to give a heads up to the mailing list, since not all people are watching the GH repo since the spec was migrated there only recently.

Thanks Domenic for reporting the issue!

Thanks,

-Anssi

[1] https://github.com/w3c/battery/issues/2

Received on Tuesday, 12 April 2016 07:52:50 UTC