WebProcess crash is occured during changing default directory path for file system
authorJiyeon Kim <jiyeon0402.kim@samsung.com>
Fri, 22 Mar 2013 06:47:51 +0000 (15:47 +0900)
committerJiyeon Kim <jiyeon0402.kim@samsung.com>
Tue, 26 Mar 2013 07:48:34 +0000 (16:48 +0900)
commit2d5db9a9307af7066b2396b87ffb52c6af4e9ba7
tree2dd27571bfb3e0a1d902e12d4eb5a30c6ed805a7
parentb08a0089c3896abfbb4c014e2951ce6e234b536e
WebProcess crash is occured during changing default directory path for file system

[Title] WebProcess crash is occured during changing default directory path for file system
[Problem] Webprocess crash is occured during changing default directory path of file system
[Cause] There are two reasons for this problem.
First, resetStoragePath() method is called before initializeWebProcess
Second, type of m_basePath is class. So if m_basePath can change, it need set API
[Solution] First, LocalFileSystem, web database, web storage initialize themselves in resetStoragePath method even if initializeWebProcess
Add set api for changing m_basePath value

Change-Id: I7a3f9da46f5fab58978623fc2767b633b4501ca0
Source/WebCore/Modules/filesystem/LocalFileSystem.cpp
Source/WebCore/Modules/filesystem/LocalFileSystem.h
Source/WebCore/Modules/webdatabase/DatabaseTracker.cpp
Source/WebCore/Modules/webdatabase/DatabaseTracker.h
Source/WebCore/storage/StorageTracker.cpp
Source/WebCore/storage/StorageTracker.h
Source/WebKit2/UIProcess/API/efl/ewk_context.cpp
Source/WebKit2/WebProcess/WebCoreSupport/WebDatabaseManager.cpp
Source/WebKit2/WebProcess/WebCoreSupport/WebDatabaseManager.h
Source/WebKit2/WebProcess/efl/WebProcessEfl.cpp