[webkit-dev] How to access page GroupSettings from WorkerThread

David Levin levin at google.com
Tue Jun 19 17:48:54 PDT 2012

A few possibilities, in order of increasing complexity and work
1. If it can't change, you could pass it in when the worker is created.
2. If it can change, you do a postMessage to the main thread to get the
3. If you can't get the value in an async manner, perhaps you can make a
method to allow thread safe access.

On Wed, Jun 13, 2012 at 6:42 PM, Charles Wei <charles.wei at torchmobile.com.cn
> wrote:

> Hi, Webkit-dev,
> I am working on JSC binding for IndexedDB. One problem I am facing now is
> to access the page groupsettings from the WorkerContext(especially the
> SharedWorkerContext) for IndexedDB file path settings to access the
> database when the indexeddb code runs in the workerthread.  Anybody can
> guide me what's the best way to do this: access the page groupsettings from
> a workcontext?
> Thanks
> --Charles
> ----------------------------
> From My BlackBerry
> ---------------------------------------------------------------------
> This transmission (including any attachments) may contain confidential
> information, privileged material (including material protected by the
> solicitor-client or other applicable privileges), or constitute non-public
> information. Any use of this information by anyone other than the intended
> recipient is prohibited. If you have received this transmission in error,
> please immediately reply to the sender and delete this information from
> your system. Use, dissemination, distribution, or reproduction of this
> transmission by unintended recipients is not authorized and may be unlawful.
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120619/9b91c730/attachment.html>

More information about the webkit-dev mailing list