Catch an exception when initializing JSWidget
authorPrzemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Fri, 23 Nov 2012 08:55:18 +0000 (09:55 +0100)
committerGerrit Code Review <gerrit2@kim11>
Fri, 23 Nov 2012 11:43:55 +0000 (20:43 +0900)
commit309d482c8a95d521b3dc40847f17867e68ecc506
tree00d417536659b010c30e411429b01d4a353eae15
parent6c67977ba6c83eed9d31fe575ebfabae5c6abf81
Catch an exception when initializing JSWidget

[Issue#] TWEB-427
[Feature] There can be exception when JSWidget tries to initializes
preferences object.
[Cause] WebProcess gets SIGABORT when initialize fails.
[Solution] Catch an exception. Allow to run normally.

[Verification] Run iframes.wgt widget from wrt-extra repository.
WebProcess should not fail when counter in widget hits ~160.
Verification requires patch from wrt-commons:
http://tizendev.org/gerrit/15863

Change-Id: Iaf9f5963d4a84cd9d518a7db1d57d350e8f64d46
src/standards/W3C/Widget/JSWidget.cpp