[webkit-dev] PageGroups (and the localStorage being stored in it)

Jeremy Orlow jorlow at chromium.org
Thu May 7 20:07:59 PDT 2009

On Thu, May 7, 2009 at 5:25 PM, Darin Adler <darin at apple.com> wrote:

> On May 7, 2009, at 4:56 PM, Jeremy Orlow wrote:
>  I'm continuing to work on https://bugs.webkit.org/show_bug.cgi?id=25376 and
>> noticed that the map of origins to localStorageAreas is owned by the
>> PageGroup class.  I'm having a bit of trouble understanding what exactly
>> page groups are used for.
> PageGroup exists so you can have multiple web pages in a single application
> that share state, including frame namespace, such as the multiple windows
> and tabs in Safari.
> Separate page groups allow other web views to be separate, allowing the
> same application to use WebKit for things that should be isolated from web
> browsing; for example Safari on Windows uses web views for things like
> Preferences and text input.
> This is exposed as part of the WebKit API on Mac OS X, with the
> setGroupName: method.
> It may be a useless concept for Chromium but it’s critical on Mac OS X.

Didn't mean to imply they were useless, at all.  Was just trying to
understand their use.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090507/50aa6bce/attachment-0001.html>

More information about the webkit-dev mailing list