Re: Promises in WebWorker

On Tue, Aug 6, 2013 at 12:54 PM, Yutaka Hirano <yhirano@google.com> wrote:
> Some APIs such as
> http://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html#images
> use Promise and are defined in WorkerGlobalContext.
> Is there any plan to define Promise in WebWorker?

Events and promises must work in workers. I am awaiting a fix to
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22646 before making
this crystal clear among a number of specifications. E.g. TextEncoder
/ TextDecoder from http://encoding.spec.whatwg.org/ also ought to work
in workers. As does URL from http://url.spec.whatwg.org/ (one of the
primary use cases for exposing URL parsing in the first place).


-- 
http://annevankesteren.nl/

Received on Tuesday, 6 August 2013 12:15:19 UTC