[whatwg] SharedWorkers and the name parameter
michaeln at google.com
Wed Aug 19 11:28:56 PDT 2009
On Tue, Aug 18, 2009 at 8:26 PM, Jonas Sicking <jonas at sicking.cc> wrote:
> On Tue, Aug 18, 2009 at 7:53 PM, Drew Wilson<atwilson at google.com> wrote:
> > An alternative would be to make the "name" parameter optional, where
> > omitting the name would create an unnamed worker that is
> > only by its url.
> > So pages would only specify the name in cases where they actually want to
> > have multiple instances of a shared worker.
> > -atw
> This seems like a very good idea. Makes a lot of sense that if two
> shared workers have the same uri, you are probably going to interact
> with it the same way everywhere. Only in less common cases do you need
> to instantiate different workers for the same url, in which case you
> can use the name parameter.
This sounds reasonable to me.
> / Jonas
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the whatwg