W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2009

[whatwg] Accessing cookies from workers

From: Michael Nordman <michaeln@google.com>
Date: Sun, 8 Mar 2009 16:39:48 -0700
Message-ID: <fa2eab050903081639i1b183157p34f6eb4f9df03007@mail.gmail.com>
> Anyhow, I'm not averse to having an asynchronous API, but I'd still like to
> enable workers to do this:
> setCookie("cookiestring")
> xhr.send();
>
> Forcing workers to do all of their cookie-laden network requests via a
> double-callback (set cookie, wait for callback, invoke xhr, wait for
> response) seems too cumbersome.

Good point, I don't think there's a conflict between saying "its
async" and "its gauranteed to be set for xhr's sent after having
called setCookie (but prior to having received an async completion
callback)"
Received on Sunday, 8 March 2009 16:39:48 GMT

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