Re: Promises in WebWorker
Anne van Kesteren <[email protected]>
| Newsgroups | gmane.comp.web.dom.general |
|---|---|
| Message-ID | <CADnb78g0QFJRPjFCqQq9e-BY5xmdZ3mOp71iK1ktYMEmJR5Mdg@mail.gmail.com> |
On Tue, Aug 6, 2013 at 12:54 PM, Yutaka Hirano <[email protected]> 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/