Re: [battery] Allow use in same-origin children

@anssiko: Yes, that should totally read `SecurityError DOMException`, thanks :) PR fired. The actual error, though, should be whatever makes sense for the API -- whether rejecting a promise, or returning an error code, the important thing is just defining some way for the API to fail when disabled.

This change LGTM, though -- thanks!

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

Received on Friday, 22 September 2017 04:46:51 UTC