Re: Question re Promises and interaction with rest of JS

On Tue, May 6, 2014 at 8:32 PM, Anne van Kesteren <annevk@annevk.nl> wrote:
> On Tue, May 6, 2014 at 7:23 PM, Harry Halpin <hhalpin@ibiblio.org> wrote:
>> For example, can I call for a key to be generated using WebCrypto, and
>> can that have *any* effect other promises before the operation is
>> complete (i.e. while pending)? Can other promises see a method has
>> been called but is still running before its end, and change their
>> behavior before that end? Or are they isolated?
>
> You don't have access to the state of asynchronous operations.
>

So, no *possible* access to any information, by say a determined or
even malicious attacker?


>
>> I've been looking at the spec (at least in DOM4)
>
> Promises are defined by JavaScript.

Yes, I attached the link of what I was looking at. Not sure where the
latest/greatest version is.

  thanks,

    harry

>
>
> --
> http://annevankesteren.nl/

Received on Tuesday, 6 May 2014 18:34:47 UTC