Verify the size of DynamicBox
authorleerang song <leerang.song@samsung.com>
Tue, 27 Aug 2013 08:18:37 +0000 (17:18 +0900)
committerSoo-Hyun Choi <sh9.choi@samsung.com>
Wed, 28 Aug 2013 04:22:11 +0000 (13:22 +0900)
commit2b1f1832b03276893b3b02eaebdedc1e2ef409af
tree0b29e56f94a001562c91d10736a541db26137a77
parentb08a3b3a867f831a2f9059e417b36ea2f6b9e04b
Verify the size of DynamicBox

* How it works:
  - When wrt-installer installs DynamicBox webapp, parse the boxsize attribute in config.xml.
  - Verify the boxsize using web_provider_plugin_check_supported_size API provided from web-provier.
  - If unsupported size is found, installer sends a ThrowMsg
  - Web application install should fail.

[Issue#]   N/A
[Problem]  When there is unsupported boxsize specified in config.xml, webapp is still installed successfully.
[Cause]    The boxsize attribute of DynamicBox in config.xml is not checked at the install time.
[Solution] Verify the boxsize attribute of DynamicBox in config.xml

[SCMRequest] N/A

Change-Id: If18ea9136687bfacf8d516bcbbadf8042cbb3e12
src/jobs/widget_install/task_widget_config.cpp [changed mode: 0644->0755]