Re: [battery] Always return promise in getBattery()

@anssiko, I don't think we need to update tests since the `promise_test` already checks if a function does not return a Promise.

The error message will be something like:
_"navigator.getBattery().then/catch is not a function"_

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

Received on Tuesday, 15 May 2018 14:32:36 UTC