Re: Promises in WebWorker
Yutaka Hirano <[email protected]>
| Newsgroups | gmane.comp.web.dom.general |
|---|---|
| Message-ID | <CABihn6GYd9f4Zs-hEzqTA8a=6kK3vEpRZV0BJJ_wbDwBPCz-Lg@mail.gmail.com> |
Thank you very much. On Tue, Aug 6, 2013 at 9:14 PM, Anne van Kesteren <[email protected]> wrote: > 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/ >