W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2012

Re: [whatwg] Feedback on Web Worker specification

From: Elliott Sprehn <esprehn@chromium.org>
Date: Tue, 20 Nov 2012 23:49:00 -0500
Message-ID: <CAO9Q3iLuGjctfwiePwU2y2MFRhUUQ=9vw41YHTc0JJe99TQZQg@mail.gmail.com>
To: Ian Hickson <ian@hixie.ch>
Cc: "whatwg@whatwg.org" <whatwg@whatwg.org>
On Tue, Nov 20, 2012 at 6:30 PM, Ian Hickson <ian@hixie.ch> wrote:

> ...
> On Sat, 3 Nov 2012, Fred Andrews wrote:
> >
> > Feedback and suggestions for appropriate markup to declare web workers
> > would be appreciated.
> Workers are only usable from script, so just start them in script. No need
> for anything declarative.

This has come up a couple times with developers and I think being able to

<script type="worker" id="taskQueue">

and then being able to access the worker to post message it by id would be
extremely useful.


Forcing the code into a separate file or requiring a data URL is annoying.

- E
Received on Wednesday, 21 November 2012 05:03:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:11 GMT