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

Jochen Eisinger jochen at chromium.org
Wed Jun 20 09:59:31 PDT 2012

As I mentioned in https://bugs.webkit.org/show_bug.cgi?id=88338, another
possibility would be to add the required information (in this case a path)
to the WorkerContext, as it seems to already contain such fields, e.g.


On Wed, Jun 20, 2012 at 2:48 AM, David Levin <levin at google.com> wrote:

> 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
> value.
> 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
> _______________________________________________
> 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/20120620/825e5cd4/attachment.html>

More information about the webkit-dev mailing list