Bug 110163 - Add StorageManager member functions for keeping track of session storage namespaces
Summary: Add StorageManager member functions for keeping track of session storage name...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Anders Carlsson
URL:
Keywords:
Depends on: 110212
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-18 15:53 PST by Anders Carlsson
Modified: 2013-02-19 05:44 PST (History)
1 user (show)

See Also:


Attachments
Patch (7.09 KB, patch)
2013-02-18 15:55 PST, Anders Carlsson
kling: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Carlsson 2013-02-18 15:53:55 PST
Add StorageManager member functions for keeping track of session storage namespaces
Comment 1 Anders Carlsson 2013-02-18 15:55:10 PST
Created attachment 188957 [details]
Patch
Comment 2 Anders Carlsson 2013-02-18 16:05:54 PST
Committed r143273: <http://trac.webkit.org/changeset/143273>
Comment 3 Chris Dumez 2013-02-19 05:32:59 PST
Comment on attachment 188957 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=188957&action=review

> Source/WebKit2/UIProcess/Storage/StorageManager.cpp:56
> +    m_queue->dispatch(bind(&StorageManager::destroySessionStorageNamespace, this, storageNamespaceID));

Shouldn't this be destroySessionStorageNamespaceInternal?

> Source/WebKit2/UIProcess/Storage/StorageManager.cpp:61
> +    m_queue->dispatch(bind(&StorageManager::cloneSessionStorageNamespace, this, storageNamespaceID, newStorageNamespaceID));

Shouldn't this be cloneSessionStorageNamespaceInternal?
Comment 4 Chris Dumez 2013-02-19 05:44:04 PST
I uploaded a patch at Bug 110212 to address this issue as it seems to cause a lot of tests to time out on our bots. StorageManager::cloneSessionStorageNamespace() is called when a new window is opened (for example in Web Inspector tests) and StorageManager::cloneSessionStorageNamespace() just keeps calling itself.