Re: [battery] getBattery() spec doesn't make sense

Indeed, so the spec fix would be to return the promise in steps 1 and 2. I’ll update the spec accordingly in the coming days unless I hear other proposals. IIRC Chrome does not yet implement the respective steps so there is no impact on the implementation.

Thanks @bzbarsky!

-- 
GitHub Notification of comment by anssiko
Please view or discuss this issue at https://github.com/w3c/battery/issues/16#issuecomment-381189465 using your GitHub account

Received on Friday, 13 April 2018 16:27:45 UTC