Sync localStorage when exit context
authorJihye Kang <jye.kang@samsung.com>
Tue, 24 Sep 2013 12:04:59 +0000 (21:04 +0900)
committerJihye Kang <jye.kang@samsung.com>
Tue, 24 Sep 2013 12:50:32 +0000 (21:50 +0900)
commit4ff40ef5ad0e05c4662444ef285ce0a974fa6f9c
treecdb1200d9c5298de7d639f0d2c967ffdc49e5315
parente18dab539c0531ecb69f8991e297abf6ba2556d2
Sync localStorage when exit context

[Title] Sync localStorage when exit context
[Issue#] N_SE-52462, VPSS-1163
[Problem] localStorage is not saved when the app exits right after assignment
[Cause] Saving items on local storage is done asynchronously by scheduling it. But on this case, there is no enough time to store items asynchronously.
[Solution] Force sync localStorage before exit context

Change-Id: I6f4a995104d2cf44f727c9968a7e2a44e2d7380b
Source/WebKit2/UIProcess/API/C/WKKeyValueStorageManager.cpp
Source/WebKit2/UIProcess/API/C/WKKeyValueStorageManager.h
Source/WebKit2/UIProcess/API/efl/ewk_context.cpp
Source/WebKit2/UIProcess/API/efl/ewk_context_private.h
Source/WebKit2/UIProcess/WebKeyValueStorageManagerProxy.cpp
Source/WebKit2/UIProcess/WebKeyValueStorageManagerProxy.h
Source/WebKit2/WebProcess/KeyValueStorage/WebKeyValueStorageManager.cpp
Source/WebKit2/WebProcess/KeyValueStorage/WebKeyValueStorageManager.h
Source/WebKit2/WebProcess/KeyValueStorage/WebKeyValueStorageManager.messages.in
Source/WebKit2/WebProcess/WebProcess.cpp