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. m_userAgent.
-jochen On Wed, Jun 20, 2012 at 2:48 AM, David Levin <[email protected]> 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 < > [email protected]> 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 >> [email protected] >> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev >> > > > _______________________________________________ > webkit-dev mailing list > [email protected] > http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev > >
_______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

