Fix values of StorageEvent properties.
authorZbigniew Kostrzewa <z.kostrzewa@samsung.com>
Thu, 13 Jun 2013 08:46:54 +0000 (10:46 +0200)
committerZbigniew Kostrzewa <z.kostrzewa@samsung.com>
Thu, 13 Jun 2013 09:08:02 +0000 (11:08 +0200)
commit85b0b4c202396e78f66e4c77d7fab250c854414b
treecbdc10803eed552385d61b9876582a9645f28ce1
parent6d79ff8aa3935011ff0d6aea51a0897efa3908f6
Fix values of StorageEvent properties.

[Issue#] N/A
[Problem] On removeItem() newValue was set to empty instead of null. On
setItem() oldValue was set to empty instead of null. On clear() key,
oldValue nad newValue were set to empty instead of null.
[Cause] N/A
[Solution] Pass proper values.
[SCMRequest] N/A

[Verification]
1. Build repository
2. Run W3C_WidgetInterface.wgt test widget.
3. Run tests from [RSA]/test/webapi
   - webapi-w3c-widgetinterface-tests/widgetinterface/w3c/au.wgt
   - webapi-w3c-widgetinterface-tests/widgetinterface/w3c/setItem-fires-event.wgt
   - webapi-w3c-widgetinterface-tests/widgetinterface/w3c/removeItem-fires-event.wgt

Change-Id: Ic39340ec283a038012d38dc1918135ea2809e647
src/dispatch-event/dispatch_event_support.cpp
src/dispatch-event/dispatch_event_support.h
src/standards/W3C/Widget/JSPreferences.cpp