On Mon, Dec 7, 2009 at 11:37 AM, Drew Wilson <atwil...@chromium.org> wrote:
> Hi all, > > I'm trying to understand the current (and future) state of Profile support. > > Currently, SharedWorkers are shared by all windows in the system - any two > windows under the same domain can do "new SharedWorker(url)" and get a > reference to the same SharedWorker, and can use that worker to share data. > > I currently am special-casing incognito windows, so incognito windows don't > share workers with non-incognito workers, but I don't do anything to deal > with profiles in general (so if you were running with separate profiles, > those profiles would see one another's workers). > That's definitely a bug if we ever really make use of profiles. In general, we have tried to honor the profile divide even if we don't surface profiles in the UI. > > I'm trying to figure out the best way to address this (and whether this is > something that needs to be addressed in the near term, given that we don't > officially support profiles - it sounds like chromeos may make some use of > them?). ResourceMessageFilter has a reference to a Profile object - are > these Profile objects global (for example, in the typical situation of a > single profile + incognito, are there only two Profile objects in the > Browser process)? > A renderer process is merely assigned a Profile. That way a renderer is limited to only seeing the data of a single Profile. -Darin > > -atw > > -- > Chromium Developers mailing list: chromium-dev@googlegroups.com > View archives, change email options, or unsubscribe: > http://groups.google.com/group/chromium-dev > -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev