Add memory space check routine before saving web storage data
authorJiyeon Kim <jiyeon0402.kim@samsung.com>
Mon, 14 Oct 2013 07:03:11 +0000 (16:03 +0900)
committereojin.ham <eojin.ham@samsung.com>
Tue, 15 Oct 2013 00:58:38 +0000 (09:58 +0900)
commitb34f1f7641491d1be1ed9f9398847da82433593a
tree88f60a7418d036522c5ab42edd3c2d25b090345c
parenta31e1c703b6468ad521a3f1159637dc0cb216763
Add memory space check routine before saving web storage data

[Title] Add memory space check routine before saving web storage data
[Issue#] N_SE-51170
[Problem] Add time and Add custom Workout delete automatically when reopen the sample ExercisePlanner
[Cause] If phone memory reach low memory, web application cannot save any data and doesn't throuw any error
[Solution] Add memory space before saving web storage data and throw QUATA_EXCEEDED_ERR if there is not enough memory in Phone

Change-Id: Ib93534fe56f48dce0df26c4d25c173dd62c1f53a
Source/WebCore/platform/FileSystem.h
Source/WebCore/platform/efl/tizen/FileSystemTizen.cpp
Source/WebCore/storage/StorageAreaImpl.cpp