Re: Privileged context features and JavaScript

On 17 April 2015 at 08:16, Boris Zbarsky <bzbarsky@mit.edu> wrote:
>    If the API returns a Promise type, return a Promise rejected with
>    a TypeError (??).  Otherwise, the operation steps MUST fail in some
>    way.
>
> Or some such.

SecurityError perhaps.  But I still like the idea of an IDL annotation
like [SecureContext] that causes the API to disappear as though not
implemented.

Received on Friday, 17 April 2015 16:08:26 UTC