[Issue#] Prevent 12049
[Problem] Unchecked return value
[Cause] N/A
[Solution] Adding the checking return value.
If return value is FALSE, print warning log.
Change-Id: I079be8ea2059ff6370e8e0c32c5c0c912d2bc3a5
// just for debugging
// LogDebug("script :\n" << script.str());
- ewk_view_script_execute(ewkView, script.str().c_str(), NULL, NULL);
+ if (ewk_view_script_execute(ewkView, script.str().c_str(), NULL, NULL) != EINA_TRUE)
+ {
+ LogWarning("ewk_view_script_execute returned FALSE!");
+ }
}
}