[whatwg] SharedWorkers and the name parameter

On Tue, Aug 18, 2009 at 1:22 PM, Jonas Sicking <jonas at sicking.cc> wrote:

> On Tue, Aug 18, 2009 at 12:00 AM, Darin Fisher<darin at chromium.org> wrote:
> > I agree.  Moreover, since a shared worker identified by a given name
> cannot
> > be "navigated" elsewhere, the name isn't all that synonymous with other
> > usages of names (e.g., window.open).  At the very least, it would seem
> > helpful to scope the name to the URL to avoid the name conflict issue.
> > -Darin
>
> Technically, that can already be done by using the current the current
> URL as the name.


I don't quite understand.  Are you suggesting that you can work around this
by passing the same parameter twice when creating a shared worker?  If so,
that seems ugly...and a sign that it should be changed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090818/95221dcc/attachment.htm>

Received on Tuesday, 18 August 2009 15:08:27 UTC