There's an issue not to kill web app when javascript dialog is opened
even if the command |pkgcmd -k -n <pkgid>| is executed to kill the web app.
To prevent the issue, this CL replies to the dialog to close it
right before the termination.
Bug: TSAM-11809, TSAM-11813
Url: http://suprem.sec.samsung.net/jira/browse/TSAM-11809
Url: http://suprem.sec.samsung.net/jira/browse/TSAM-11813
Change-Id: I4757f45b3731d25cb57876f12c7b2e52b9f62af7
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
if (it != view_stack_.end()) {
runtime::Runtime::is_on_terminate_called = true;
for (; it != view_stack_.end(); ++it) {
+ (*it)->ReplyToJavascriptDialog();
view_stack_.front()->SetVisibility(false);
ewk_view_page_close((*it)->evas_object());
}