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
Received on Sunday, 8 March 2009 16:39:48 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:10 UTC