Re: [battery] Allow use from within secure context and top-level browsing context only

Submitted a spec patch https://github.com/w3c/battery/commit/53360f1145a3ae20d69d403c71ccac850f4af49c per the proposal outlined above, i.e. reject the battery promise with a `SecurityError` if not a secure context and top-level browsing context.

I heard no concerns to the proposal, so I'll merge this immediately to get the Editor's Draft updated.

@Honry will update the test suite accordingly to match this spec change.

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

Received on Wednesday, 10 May 2017 08:24:25 UTC