W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2013

Re: Promises in WebWorker

From: Anne van Kesteren <annevk@annevk.nl>
Date: Tue, 6 Aug 2013 13:14:52 +0100
Message-ID: <CADnb78g0QFJRPjFCqQq9e-BY5xmdZ3mOp71iK1ktYMEmJR5Mdg@mail.gmail.com>
To: Yutaka Hirano <yhirano@google.com>
Cc: "www-dom@w3c.org" <www-dom@w3c.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:03 UTC