W3C home > Mailing lists > Public > public-device-apis-log@w3.org > September 2017

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

From: Ian Clelland via GitHub <sysbot+gh@w3.org>
Date: Fri, 22 Sep 2017 04:46:40 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-331348977-1506055589-sysbot+gh@w3.org>
@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

This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:54 UTC