Re: Question re Promises and interaction with rest of JS

On Tue, May 6, 2014 at 7:34 PM, Harry Halpin <hhalpin@ibiblio.org> wrote:
> On Tue, May 6, 2014 at 8:32 PM, Anne van Kesteren <annevk@annevk.nl> wrote:
>> 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?

No. The algorithms defined by the specification say as much. You can
observe the returned promise, but it doesn't reveal state. And it
won't reveal a value until the algorithms defined by the specification
are done and either resolve or reject the promise.


-- 
http://annevankesteren.nl/

Received on Tuesday, 6 May 2014 18:39:24 UTC