> Allowing cookie to be set would unfortunately create a synchronous
> communication channel between the worker and the main window. This is
> something that we need to avoid to prevent users from having to deal
> with locking and other thread related issues.
Hmmm... the cookie setting API could be async in workers.